PALS Python v0.1.0

RESOURCE

Abstract

This is a Python implementation for the Particle Accelerator Lattice Standard (PALS). To define the PALS schema, Pydantic is used to map to Python objects, perform automatic validation, and serialize/deserialize data classes to/from many modern file formats. Various modern file formats (e.g., YAML, JSON, TOML, XML, etc.) are supported, which makes the implementation of the schema-following files in any modern programming language easy (e.g., Python, Julia, C++, LUA, Javascript, etc.). Here, we do Python.
Developers:
Huebl, Axel [1] Zoni, Edoardo [1]
  1. Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
Release Date:
2025-09-22
Project Type:
Open Source, Publicly Available Repository
Software Type:
Scientific
Licenses:
BSD 3-clause "New" or "Revised" License
Sponsoring Org.:
Code ID:
165090
Site Accession Number:
2025-197
Research Org.:
Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
Country of Origin:
United States

RESOURCE

Citation Formats

Huebl, Axel, and Zoni, Edoardo. PALS Python v0.1.0. Computer Software. https://github.com/campa-consortium/pals-python. USDOE. 22 Sep. 2025. Web. doi:10.11578/dc.20250925.2.
Huebl, Axel, & Zoni, Edoardo. (2025, September 22). PALS Python v0.1.0. [Computer software]. https://github.com/campa-consortium/pals-python. https://doi.org/10.11578/dc.20250925.2.
Huebl, Axel, and Zoni, Edoardo. "PALS Python v0.1.0." Computer software. September 22, 2025. https://github.com/campa-consortium/pals-python. https://doi.org/10.11578/dc.20250925.2.
@misc{ doecode_165090,
title = {PALS Python v0.1.0},
author = {Huebl, Axel and Zoni, Edoardo},
abstractNote = {This is a Python implementation for the Particle Accelerator Lattice Standard (PALS). To define the PALS schema, Pydantic is used to map to Python objects, perform automatic validation, and serialize/deserialize data classes to/from many modern file formats. Various modern file formats (e.g., YAML, JSON, TOML, XML, etc.) are supported, which makes the implementation of the schema-following files in any modern programming language easy (e.g., Python, Julia, C++, LUA, Javascript, etc.). Here, we do Python.},
doi = {10.11578/dc.20250925.2},
url = {https://doi.org/10.11578/dc.20250925.2},
howpublished = {[Computer Software] \url{https://doi.org/10.11578/dc.20250925.2}},
year = {2025},
month = {sep}
}