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 pytango pytango-db
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
Release history Release notifications | RSS feed
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 lima2_client-3.0a0.tar.gz.
File metadata
- Download URL: lima2_client-3.0a0.tar.gz
- Upload date:
- Size: 38.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a048a75916fcabc1d72a975e5b2e272a1f37ea0d8a8572415a2705044a69b6d5
|
|
| MD5 |
056c15707e91fc7bd395a74390a48533
|
|
| BLAKE2b-256 |
20ad6aae91dcfe5cb8f5168f80ef69b33df797039c5531092fcbcb79b7d3b9d6
|
File details
Details for the file lima2_client-3.0a0-py3-none-any.whl.
File metadata
- Download URL: lima2_client-3.0a0-py3-none-any.whl
- Upload date:
- Size: 54.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
519246bd2e03e5c1cd980cd882e7357397f8a3aeb582fb4c131342f9a29c4c39
|
|
| MD5 |
e07b67bb9a9e87250bf3f24109e8040a
|
|
| BLAKE2b-256 |
cb4e19eb591ef92bcbe926e89eaf5df4cfab128edbf9b543cb4103381433c3aa
|