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.2.0.tar.gz (75.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page