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==3.10
pip install .[dev]

The dev extra dependency adds linting, formatting, static analysis and testing tools. It also installs ipython required to run the lima2_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-4.0.dev1.tar.gz (49.8 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-4.0.dev1-py3-none-any.whl (72.2 kB view details)

Uploaded Python 3

File details

Details for the file lima2_client-4.0.dev1.tar.gz.

File metadata

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

File hashes

Hashes for lima2_client-4.0.dev1.tar.gz
Algorithm Hash digest
SHA256 a369c904aaeac9bd1fc722c883cec952eb6d607ef31effc6f78e182ac4e909ec
MD5 d0aeea552ef016cf2dbebbc1e0017a37
BLAKE2b-256 a7d4ccca6afa180168cbfcc177f39e4eb614475678f9f229aa2c200d9222d50c

See more details on using hashes here.

File details

Details for the file lima2_client-4.0.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for lima2_client-4.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f4ef7aaa06b804ea46b7c0f3a4e50bb4cf704a3d56fcd19dcd3d6e2ccd66286
MD5 6155060c27cb344a617ae30875f2c0c1
BLAKE2b-256 fd2b255679a94cfbde9f029dcde4a76b6e709dd52e2dd8bad78fdeb7a646f30f

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