Skip to main content

Bliss data streaming client

Project description

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

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

python3 -m pip install blissdata[test]

The installation can be tested when installed with the test option

python3 -m pytest --pyargs blissdata

Note for installation on Linux: the pytango dependency requires the following system packages (Ubuntu) to be installed

sudo apt update
sudo apt install libboost-python-dev libtango-dev

Conda installation

conda install blissdata -c esrf-bcu

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

blissdata-0.1.0b3.tar.gz (71.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page