Skip to main content

Python Accelerator Middle Layer

Project description

Documentation Status Current release

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

  1. Clone the repository. You need to also update the submodules.

    cd pyaml
    git submodule update --init --recursive
    
  2. Create a virtual environment and activate it

  3. Install the package in editable mode:

    pip install -e .
    
  4. Install the development dependencies and pre-commit hooks

    pip install -e .[dev]
    pre-commit install
    
  5. 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

  6. 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

accelerator_middle_layer-0.2.1.tar.gz (53.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

accelerator_middle_layer-0.2.1-py3-none-any.whl (82.9 kB view details)

Uploaded Python 3

File details

Details for the file accelerator_middle_layer-0.2.1.tar.gz.

File metadata

  • Download URL: accelerator_middle_layer-0.2.1.tar.gz
  • Upload date:
  • Size: 53.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for accelerator_middle_layer-0.2.1.tar.gz
Algorithm Hash digest
SHA256 45bd3646b9d1d8ee07d8474e359a704ef1d21cd2ec69afb7e08f425770c7eee8
MD5 99a6d56d298ae7bd64a8bdcb6d38a605
BLAKE2b-256 5de8f20c77daab9dc0a2c26a807117c42b06edcf5aaa38d2379c8071b30f6d42

See more details on using hashes here.

Provenance

The following attestation bundles were made for accelerator_middle_layer-0.2.1.tar.gz:

Publisher: deploy-pypi.yaml on python-accelerator-middle-layer/pyaml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accelerator_middle_layer-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for accelerator_middle_layer-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eba4f82c5bafd723601d88f18fc77000d172f671d006186d69a795fdef2abae2
MD5 5d0b1b6f546a76b022c6e720b519f1bc
BLAKE2b-256 3adac559a2184b516da9b20e941fc6b85d6f09ea3b3e6340d5adbfb0cd65f92f

See more details on using hashes here.

Provenance

The following attestation bundles were made for accelerator_middle_layer-0.2.1-py3-none-any.whl:

Publisher: deploy-pypi.yaml on python-accelerator-middle-layer/pyaml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page