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 in the documentation.

The steps are straightforward and can be summarized as follows:

Users

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

Developers

  1. Clone the repository: git clone git@github.com:AdrienPlacais/LightWin.git
  1. Create a dedicated Python environment.
  2. From LightWin folder: pip install -e .[test, cython]
  3. 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.14.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.14.0
File Size Uploaded Provenance Actions
lightwin-0.14.0.tar.gz 1.0 MB With provenance Details for lightwin-0.14.0.tar.gz

Built distributions (wheels)

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

Total release size: 17.8 MB

Release files / lightwin-0.14.0.tar.gz

Download URL lightwin-0.14.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
99f252ed0eb49fb9765af6cfa052a413b2a4d1f12e190edfcddaef33806510b1
BLAKE2b-256 checksum
How to use checksums
672cfca964c4b7395e1d9c9ce6797c34d7b456038a0b977ac292215014ce57b4
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-cp313-cp313-win_amd64.whl
Size 1.0 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
0ffa34baf163effc5bd85c88d8a167899746df5b7f41df613c2647f1bf05a5cd
BLAKE2b-256 checksum
How to use checksums
9ee0dc37a9fb9264f76034e264fd8a1abe03fda135ba82cfce671af32b12c94a
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 2.1 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
e0a834e6b386ba5ed0b4a5df24f6c6cf4d36c4cb48e5fe63e0f6e3729d972aad
BLAKE2b-256 checksum
How to use checksums
865dfdc8c7136fdcd59918c6b8e7f24f6a79d5fc165218e38b8b835bc3c95217
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b9be0aecd12c021a8cf32f8f62027e6dd1b81de2a5ea2e1b902698d9d20c2f3d
BLAKE2b-256 checksum
How to use checksums
5c28890830c340554bde53f5cd04775668ee2c358cf6a6152d629b56a47e4a4f
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.1 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
0270ae40fb003f787174bf7ca0d33f434a7dc332fbe5cdc651232629107cd748
BLAKE2b-256 checksum
How to use checksums
c11e5330600bb2d105ec0ec922699b6e6f31f4f9b1f5200536c69bdf9eca5123
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-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
5bb7822f6163788614efa23b2d950468070c622c6a546269a7faf442746ca222
BLAKE2b-256 checksum
How to use checksums
579a60a769b4656e140885f46a065f520f38605fce086a0d6aed0fed049cdead
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-cp312-cp312-win_amd64.whl
Size 1.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
35ed25903ea3be190ea703ac6b5267427e405009517a1e495e62840c89249567
BLAKE2b-256 checksum
How to use checksums
b3beaa3032ad230bddeee59534623a8508d4d7d23be44cf053b83db8c00db668
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 2.1 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
e75942b48109b343b797680786bee398f2e811ae0b3f35537a09c40c31d8508e
BLAKE2b-256 checksum
How to use checksums
09dea12032344cc087bdcf6051d73adee7c5badaa77f9887db6916612c22ace3
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
592ebd33e74a3f6b78f1362d0d1ead4c47bb2517a24b5ccb8aa191cbe43facc9
BLAKE2b-256 checksum
How to use checksums
13ab47b2aa2eee9acf02d7c859d83489004f012f93a94b89381a7326f0a913ec
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.1 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
18d1c080713471b5ae2f2763fbef9ff45034642e3b095a176e5463ad7ef32f07
BLAKE2b-256 checksum
How to use checksums
5204bebe5eda4cb6e3507a463bfe6acf845b9cab7d95702bbe5ff8ee8559fc9b
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 Dec 4, 2025.

Transparency log

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

Download URL lightwin-0.14.0-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
e83f02b54f76f8e29c4b706bd195bffc491c27971ec6ee5b92debebea5ee406d
BLAKE2b-256 checksum
How to use checksums
8afebe9853c67bb898b45f7e2a735210379a4118e7345234f48a4fe18082faf7
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 Dec 4, 2025.

Transparency log

Security for LightWin 0.14.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 11 files in this release have been uploaded with provenance metadata.

Select from 11 files

Attestation for lightwin-0.14.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 4, 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.14.0 This release

11 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