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.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.12.0
File Size Uploaded Provenance Actions
lightwin-0.12.0.tar.gz 772.6 kB With provenance Details for lightwin-0.12.0.tar.gz

Built distributions (wheels)

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

Total release size: 12.9 MB

Release files / lightwin-0.12.0.tar.gz

Download URL lightwin-0.12.0.tar.gz
Size 772.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3746edc6927d288a79143efda715a513ce297777975589662a70889dd1bb090b
BLAKE2b-256 checksum
How to use checksums
9c64be15d9006d404136f15cdbc3b50c52559d41b7d6d8b7b5838086935142b8
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.0-cp313-cp313-win_amd64.whl
Size 726.9 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
6f4fb13cd9ad4a096c7774601a55d98261c479821d88ebd4e4d8c294f4815f5a
BLAKE2b-256 checksum
How to use checksums
9b9bafe430bc2e614726c8a566fafc8ac5b008ed7dfa90f4ab628ca3ad89e03f
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.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
7db1a536acd41e13987e20e547cd8e70708bcb3dd2b8bf62ee42248ddc2264fc
BLAKE2b-256 checksum
How to use checksums
fc3a0853fdf49f311725585496f808102cc0c4160bab8f71529a2210ff0817ae
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.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
3fb9d7bc3e52fd024245d2941150856ebee2fe8d8bf3eade5d40f0a154408c4c
BLAKE2b-256 checksum
How to use checksums
7cf909e12141b3262aa41d68bf6026036debd9ca9cbb3025ef719329489b5d7d
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.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
9387effe5ccae28f4a402a5aa9e9bb8ae19e1e3560e5d14cb4e207438e128f81
BLAKE2b-256 checksum
How to use checksums
0c2972709111b40090e00b474c69d896d694724da8d0db5745aa3ab547d04ed0
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.0-cp313-cp313-macosx_11_0_arm64.whl
Size 731.2 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bd2e3752d9454b8dc4ca4b954cbe359b7a49622e61a0d5fcabe6fa219955471b
BLAKE2b-256 checksum
How to use checksums
11adcffd5b535f14c9e562224e62ef4ff527889ccc13dd59851f83f4985f6037
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 739.6 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
fa1ba5496644c01f8c95985873a3e28ffd184bc7d51258a70816220c99a114e5
BLAKE2b-256 checksum
How to use checksums
b4e42606d1540a5b99655da880ab4f48f062cf7acff0648bb3d3ed71782c6997
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.0-cp312-cp312-win_amd64.whl
Size 726.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
fa6101013389ca1ac1ac39e2c82f6e69a345f5ebb907fe2d30416b9f4be822d9
BLAKE2b-256 checksum
How to use checksums
eaa56c0631fcac39b4d67a5786b320c56888624a0cd88b01d9560b6b83e47328
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.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
7451d27a86aeb467d3bb096381035cb89ee8c1e27b84f2d5d35e66ffe37d8c97
BLAKE2b-256 checksum
How to use checksums
a40d8ca7ea822bc0eb1f7380076ffdc0503948e275598e5590489c52f32e4a3b
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.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
132dbe71856ddf256cb8a3be097bb1bd7a1f6eb29da585ca000407d56c072042
BLAKE2b-256 checksum
How to use checksums
e75c67de0a5bbf5630832882c9dcd6236090751ec604ac9c703b4ce78c20575d
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.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
d7d57313905ec0598a1ce0c4a988a55c3292ade80668dc81759570cd2d328115
BLAKE2b-256 checksum
How to use checksums
70d112eec1831794ffc1eb7fcb0be1b6ef3013ea420c1facc608c315edeeb15e
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.0-cp312-cp312-macosx_11_0_arm64.whl
Size 732.0 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
59544dc397147d51516ab3f9590b3601f7d133d4475df59ed9798302bed62226
BLAKE2b-256 checksum
How to use checksums
464e2f31311e0d9976737826c2765681ddda30e27d6aa621159e9e92d62cea55
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 25, 2025.

Transparency log

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

Download URL lightwin-0.12.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 740.8 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
cb5a29460beec9415af87d4e5047ce62706557ec890023d59503f94014115b82
BLAKE2b-256 checksum
How to use checksums
5486265ceb6d4d5b7e561502f1e586bd85fd36ac6225268b499c6f5aa195edc3
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 25, 2025.

Transparency log

Security for LightWin 0.12.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.12.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 Aug 25, 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.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