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.2.tar.gz (115.2 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.2-py3-none-any.whl (168.7 kB view details)

Uploaded Python 3

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

Hashes for accelerator_middle_layer-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a52cef733fe576c16a6471e71564bef37a6799551effad5eac48da94cf50e47e
MD5 b1d6caba8ad2d572a222eb209b6084dc
BLAKE2b-256 186bba7b2fb78e3a7585592dcd99f4e7b644a989036709debf34bd6644bed3ee

See more details on using hashes here.

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

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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for accelerator_middle_layer-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45b93a6c998bd28d8ada9c435f6deeded3d133ea60bb9859c0a12c6c6995e6c2
MD5 fbf87f5b46d84735599b4437c4de08a4
BLAKE2b-256 422e30226bfbd0a091e7b9d4149dbe93d38d41c53c75e7cc89edde04532c846c

See more details on using hashes here.

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

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