FCC Lattice Simulation Toolkit
A Python package for constructing and simulating FCC-ee lattices using XSuite and MAD-X.
Features
- Lattice Construction: Build FCC lattices from MAD-X sequences
- Beam Dynamics: Configure beam parameters and optics
- Injection Modeling: Realistic injection scenarios
- Tracking: Particle tracking with synchrotron radiation
- Analysis: Tools for lattice diagnostics and optimization
Installation
Installation
pip install xutil
Development Installation
git clone https://gitlab.cern.ch/kskoufar/xutil.git
cd xutil
pip install -e ".[dev,doc]"
Development
Building the Package
To build the package locally:
# Install build dependencies
pip install build twine
# Build the package
python -m build
# The built packages will be in the dist/ directory
Publishing to PyPI
To publish to the main PyPI repository:
python -m twine upload dist/*
# Or for the test repo
python -m twine upload --repository testpypi dist/*
Documentation
Full documentation is available at: https://xutil.readthedocs.io
To build documentation locally:
cd docs
make html
open ./build/html/index.html
Contributing
We welcome contributions! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin feature/your-feature) - Open a Merge Request
Citation
@software{xutil,
author = {Kyriacos Skoufaris, Giulia Nigrelli, Maël Le Garrec},
title = {Xutil - FCC Lattice Simulation Toolkit},
year = {2025},
publisher = {GitLab},
journal = {GitLab repository},
howpublished = {\url{https://gitlab.cern.ch/kskoufar/xutil}},
version = {0.1.0}
}
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Metadata
Release files for xsuite-utils 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xsuite_utils-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for xsuite_utils-0.1.0-py3-none-any.whl |
Release files / xsuite_utils-0.1.0-py3-none-any.whl
| Download URL | xsuite_utils-0.1.0-py3-none-any.whl |
|---|---|
| Size | 57.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1491e0b120a8530163f3477aff121ddfc21b4503a7a8687ad58a56e4d1d396b7
|
|
BLAKE2b-256 checksum How to use checksums |
54ca03e6b33f7e325342dab70b58c7d53aa134e6cee2fd93cdd5817488ec0336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for xsuite-utils 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.