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.2.tar.gz (74.0 kB view details)

Uploaded Source

File details

Details for the file blissdata-0.1.2.tar.gz.

File metadata

  • Download URL: blissdata-0.1.2.tar.gz
  • Upload date:
  • Size: 74.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for blissdata-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1a002dda05d7c4ae77e3204b53754136604e8488550d08cf2bbbe294e97e1c24
MD5 b237aaf1d62614ef285eee3743443342
BLAKE2b-256 1ba21a6255bdafb53d8418eee6a1c7ad12c134a506923439aa282729868a2c92

See more details on using hashes here.

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