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

Uploaded Source

Built Distribution

hstreamdb-0.1.0-py3.7.egg (22.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: hstreamdb-0.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for hstreamdb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d6a25274c3910b429d5a03ee2129f8138da3a3d5316140576a9b9b65e8a3446f
MD5 64762f0e43d7dab7c4ba5b2615416389
BLAKE2b-256 17cfea8f0576a39ca4c4640c3cb676b023b565112991eb4d5af1259d3d75e4cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hstreamdb-0.1.0-py3.7.egg
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for hstreamdb-0.1.0-py3.7.egg
Algorithm Hash digest
SHA256 2ad364b16218ae8bef4e364f82fcbb8f8743bfaf46d674c260c31b53f8221abe
MD5 01b747a5d5b2cc3531b13fda83b03054
BLAKE2b-256 8dc2da3a7c758b685df8c8eca3bc4f5e6252584e835a522bf5e1df5664dc6130

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