Skip to main content

Python client library for Lima2 detector

Project description

LImA 2 Client library

This project provides a Python interface to the LImA 2 distributed system.

Checkout the documentation here.

Development setup

In order to install lima2-client in a new conda environment:

conda create -n l2c -c esrf-bcu python pytango finite-state-machine
pip install .

and, if you need the lima2-client shell:

pip install .[shell]

Quickstart with blissdemo

With bliss-demo-servers running, you can run an interactive Lima2 client shell to manipulate the Lima2 simulator devices and test the client API:

export TANGO_HOST="localhost:10000"  # Assuming you are running bliss-demo-servers locally
lima2_shell

The lima2_shell utility instantiates a Client object using config from l2c_config.yaml, creates a set of default control, acquisition and processing parameters, and starts an ipython session.

Bootstrapping the documentation

The source for the documentation is in the docs folder. Here are the instructions to built and read it locally. The documentation is built with Doxygen and Sphinx. The sphinx template is from Sphinx Material.

    conda create -n doc --file docs/requirements.txt -c conda-forge
    conda activate doc
    cd docs
    make html

The html documentation is generated in docs/.build/html.

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

lima2_client-2.0rc2.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

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

lima2.client-2.0rc2-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file lima2_client-2.0rc2.tar.gz.

File metadata

  • Download URL: lima2_client-2.0rc2.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for lima2_client-2.0rc2.tar.gz
Algorithm Hash digest
SHA256 154fcce552def03999ab09814d9d311a822dad3d2ebbf672062667c05a025d54
MD5 aad7821d43b9bb84227970b8dee5c7ef
BLAKE2b-256 8bef82774aeee32cb1554e5ec62f22cd037ad61a5677262778d018a53a7e8787

See more details on using hashes here.

File details

Details for the file lima2.client-2.0rc2-py3-none-any.whl.

File metadata

  • Download URL: lima2.client-2.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for lima2.client-2.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 f8c5b55dd337e4ddd8dca2ab34957b5a7db74416ac8817d0d0f073ca091c7510
MD5 aa2de0fcfc1d4677c39445a9e638a4a0
BLAKE2b-256 f347959cbf4bc507e57415646db02cb59c98d9dd6fcc63307b6675c57caa70a6

See more details on using hashes here.

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