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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: blissdata-0.1.0b3.tar.gz
  • Upload date:
  • Size: 71.2 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.0b3.tar.gz
Algorithm Hash digest
SHA256 5fc1a99df4a9e3d6dcb86465c37608531f6322dab4119d24d757b66d4d1dd0d8
MD5 8c68049474df9f53b2fcc40055f7fb06
BLAKE2b-256 c86c1424516b963e6f5852412061a8a4a58c9d8ea117a37954ab3082168e0ef7

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