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.4.0.tar.gz
(11.5 kB
view details)
Built Distribution
hstreamdb-0.4.0-py3.7.egg
(31.6 kB
view details)
File details
Details for the file hstreamdb-0.4.0.tar.gz
.
File metadata
- Download URL: hstreamdb-0.4.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.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d22f9defaae8bce0782a28fb40c16b13cc6b293f5e0a15d3302a36ced1a16a8 |
|
MD5 | 960dcddd152c885188c314969366909a |
|
BLAKE2b-256 | 83fd0381bf35eb1e930069dba498efe0c33125a6714d4d07e94ae2aba247f153 |
File details
Details for the file hstreamdb-0.4.0-py3.7.egg
.
File metadata
- Download URL: hstreamdb-0.4.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.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87583d8f237ccd0d13a6bb1f022275187b20b0128969df4da68a699994f9d06f |
|
MD5 | 519c258a82f944f03d73bf648f3835b5 |
|
BLAKE2b-256 | 5f7e8cf958605f75887bc9f26280c23a01fc0799471d85033dea5fb8b454aeec |