Python Accelerator Middle Layer
Project description
pyAML: Python Accelerator Middle Layer
Disclaimer: the pyAML software is still under development.
This repository is pyAML core. It is control system independent and provides the main functionality of pyAML (device abstraction for magnets, bpms, etc.; access to simulator (pyAT) and abstract implementation for control system). It is intended to be used together with a package that implements control system specific interface.
If you want to only tests for your machine and not develop, you shouldn't install this package. Instead go to the package for the bindings and install that one. It will install this package automatically.
Available packages for bindings:
TANGO: tango-pyaml TANGO or EPICS: pyaml-cs-oa
Developer Installation
-
Clone the repository. You need to also update the submodules.
cd pyaml git submodule update --init --recursive -
Create a virtual environment and activate it
-
Install the package in editable mode:
pip install -e . -
Install the development dependencies and pre-commit hooks
pip install -e .[dev] pre-commit install -
If you want to try the examples using the control system bindings you also need to install those. See:
TANGO: tango-pyaml TANGO or EPICS: pyaml-cs-oa
-
If you want to run tests manually using the TANGO bindings without requiring a live machine you can also install the the Dummy TANGO control system available in tests/dummy-cs/tango. It is a simple emulation that allows to check the interface to the control system. The implemented control system doesn't do anything but it is only intended for tests during the development.
Documentation
The documentation is hosted on Read the Docs: pyaml.
Examples
Examples are available in the examples folder of the repository.
Additionally, in the documentation there are example Jupyter notebooks available.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file accelerator_middle_layer-0.2.2.tar.gz.
File metadata
- Download URL: accelerator_middle_layer-0.2.2.tar.gz
- Upload date:
- Size: 115.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a52cef733fe576c16a6471e71564bef37a6799551effad5eac48da94cf50e47e
|
|
| MD5 |
b1d6caba8ad2d572a222eb209b6084dc
|
|
| BLAKE2b-256 |
186bba7b2fb78e3a7585592dcd99f4e7b644a989036709debf34bd6644bed3ee
|
Provenance
The following attestation bundles were made for accelerator_middle_layer-0.2.2.tar.gz:
Publisher:
deploy-pypi.yaml on python-accelerator-middle-layer/pyaml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
accelerator_middle_layer-0.2.2.tar.gz -
Subject digest:
a52cef733fe576c16a6471e71564bef37a6799551effad5eac48da94cf50e47e - Sigstore transparency entry: 834864659
- Sigstore integration time:
-
Permalink:
python-accelerator-middle-layer/pyaml@ed9c636fafa4ebeb0212a4f0f9c28ee4a80a194e -
Branch / Tag:
refs/tags/0.2.2 - Owner: https://github.com/python-accelerator-middle-layer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-pypi.yaml@ed9c636fafa4ebeb0212a4f0f9c28ee4a80a194e -
Trigger Event:
push
-
Statement type:
File details
Details for the file accelerator_middle_layer-0.2.2-py3-none-any.whl.
File metadata
- Download URL: accelerator_middle_layer-0.2.2-py3-none-any.whl
- Upload date:
- Size: 168.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45b93a6c998bd28d8ada9c435f6deeded3d133ea60bb9859c0a12c6c6995e6c2
|
|
| MD5 |
fbf87f5b46d84735599b4437c4de08a4
|
|
| BLAKE2b-256 |
422e30226bfbd0a091e7b9d4149dbe93d38d41c53c75e7cc89edde04532c846c
|
Provenance
The following attestation bundles were made for accelerator_middle_layer-0.2.2-py3-none-any.whl:
Publisher:
deploy-pypi.yaml on python-accelerator-middle-layer/pyaml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
accelerator_middle_layer-0.2.2-py3-none-any.whl -
Subject digest:
45b93a6c998bd28d8ada9c435f6deeded3d133ea60bb9859c0a12c6c6995e6c2 - Sigstore transparency entry: 834864660
- Sigstore integration time:
-
Permalink:
python-accelerator-middle-layer/pyaml@ed9c636fafa4ebeb0212a4f0f9c28ee4a80a194e -
Branch / Tag:
refs/tags/0.2.2 - Owner: https://github.com/python-accelerator-middle-layer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-pypi.yaml@ed9c636fafa4ebeb0212a4f0f9c28ee4a80a194e -
Trigger Event:
push
-
Statement type: