Skip to main content

Python client for HStreamDB

Project description

hstreamdb-py

Python client for HStreamDB

Installation

Create a new virtual environment if you prefer to use isolated environments:

virtualenv -p python3 ./venv
source ./venv/bin/activate

Install hstreamdb:

pip install hstreamdb

Examples

Here's a basic example (For more examples and api documentation, see: https://hstreamdb.github.io/hstreamdb-py/) :

$ python

>>> from hstreamdb import insecure_client
>>> async def main():
...     async with await insecure_client(host="127.0.0.1", port=6570) as client:
...         streams = await client.list_streams()
...         print(list(streams))
...
>>> import asyncio
>>> asyncio.run(main())

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

hstreamdb-0.5.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

hstreamdb-0.5.0-py3.7.egg (31.6 kB view details)

Uploaded Source

File details

Details for the file hstreamdb-0.5.0.tar.gz.

File metadata

  • Download URL: hstreamdb-0.5.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for hstreamdb-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4c920e712a769bf58bd458710715e316ea6acb10aea674206ea423be17edf447
MD5 6b117a2efdc86b17c540f356b7a17209
BLAKE2b-256 7f9ccd881fc2408568784e2424d507602c10a0f1ff55b3d9d2282a1f7a1436cf

See more details on using hashes here.

File details

Details for the file hstreamdb-0.5.0-py3.7.egg.

File metadata

  • Download URL: hstreamdb-0.5.0-py3.7.egg
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for hstreamdb-0.5.0-py3.7.egg
Algorithm Hash digest
SHA256 3cf94760485be2e0fde87b071f09b5a63ca8dc8c54a1da51a26165e7f2364093
MD5 f46642aad22179e6a7cf8a593f668de7
BLAKE2b-256 1c1a332c19a45484a303390a923a7fd8dcdb1dac1db04a83f0f49094bd127a4a

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