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

Uploaded Source

File details

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

File metadata

  • Download URL: blissdata-0.1.0.tar.gz
  • Upload date:
  • Size: 72.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

File hashes

Hashes for blissdata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 66f8f205a753a7469648070aced21b7866eaab4c934a1f094230f0edbf4b9834
MD5 278bc58ff6b5ca8cd7c7a3284ba3fe88
BLAKE2b-256 90efa17c5c5a15704f2e3f1a12bb60f3df911a49f92e2ae6b8b4a061da7d4329

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