blissdata-0.3.3
توضیحات
Bliss data streaming client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | blissdata-0.3.3 |
| نام | blissdata |
| نسخه کتابخانه | 0.3.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | BCU (ESRF) |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://gitlab.esrf.fr/bliss/bliss/-/tree/master/blissdata |
| آدرس اینترنتی | https://pypi.org/project/blissdata/ |
| مجوز | LGPLv3 |
# blissdata
The `blissdata` library provides access to:
* all data produced by Bliss acquisitions (Redis database 1)
* all public device settings (Redis database 0)
* beamline configuration (Beacon server)
## Receive data from Bliss acquisitions
```python
import gevent.monkey
gevent.monkey.patch_all()
from blissdata.client import configure_with_beacon_address
from blissdata.data.node import get_session_node
configure_with_beacon_address("localhost", 10001)
node = get_session_node("demo_session")
for event in node.walk_on_new_events():
print(event)
```
## Pypi installation
```bash
python3 -m pip install blissdata[test]
```
The installation can be tested when installed with the `test` option
```bash
python3 -m pytest --pyargs blissdata
```
Note for installation on Linux: the `pytango` dependency requires
the following system packages (Ubuntu) to be installed
```bash
sudo apt update
sudo apt install libboost-python-dev libtango-dev
```
## Conda installation
```bash
conda install blissdata -c esrf-bcu
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| <3.10,>=3.7 | Python |
نحوه نصب
نصب پکیج whl blissdata-0.3.3:
pip install blissdata-0.3.3.whl
نصب پکیج tar.gz blissdata-0.3.3:
pip install blissdata-0.3.3.tar.gz