hstreamdb


Namehstreamdb JSON
Version 0.5.0 PyPI version JSON
download
home_pagehttps://github.com/hstreamdb/hstreamdb-py
SummaryPython client for HStreamDB
upload_time2023-07-20 06:48:29
maintainer
docs_urlNone
authorlambda
requires_python>=3.7
license
keywords
VCS
bugtrack_url
requirements grpcio protobuf hstreamdb-api
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # hstreamdb-py

Python client for [HStreamDB](https://github.com/hstreamdb/hstream)

## Installation

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

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

Install hstreamdb:

```sh
pip install hstreamdb
```

## Examples

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

```python
$ 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())
```
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hstreamdb/hstreamdb-py",
    "name": "hstreamdb",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "lambda",
    "author_email": "lambda@emqx.io",
    "download_url": "https://files.pythonhosted.org/packages/7f/9c/cd881fc2408568784e2424d507602c10a0f1ff55b3d9d2282a1f7a1436cf/hstreamdb-0.5.0.tar.gz",
    "platform": null,
    "description": "# hstreamdb-py\n\nPython client for [HStreamDB](https://github.com/hstreamdb/hstream)\n\n## Installation\n\nCreate a new virtual environment if you prefer to use isolated environments:\n\n```sh\nvirtualenv -p python3 ./venv\nsource ./venv/bin/activate\n```\n\nInstall hstreamdb:\n\n```sh\npip install hstreamdb\n```\n\n## Examples\n\nHere's a basic example (For more examples and api documentation, see:\n<https://hstreamdb.github.io/hstreamdb-py/>) :\n\n```python\n$ python\n\n>>> from hstreamdb import insecure_client\n>>> async def main():\n...     async with await insecure_client(host=\"127.0.0.1\", port=6570) as client:\n...         streams = await client.list_streams()\n...         print(list(streams))\n...\n>>> import asyncio\n>>> asyncio.run(main())\n```",
    "bugtrack_url": null,
    "license": "",
    "summary": "Python client for HStreamDB",
    "version": "0.5.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/hstreamdb/hstreamdb-py/issues",
        "Homepage": "https://github.com/hstreamdb/hstreamdb-py"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1c1a332c19a45484a303390a923a7fd8dcdb1dac1db04a83f0f49094bd127a4a",
                "md5": "f46642aad22179e6a7cf8a593f668de7",
                "sha256": "3cf94760485be2e0fde87b071f09b5a63ca8dc8c54a1da51a26165e7f2364093"
            },
            "downloads": -1,
            "filename": "hstreamdb-0.5.0-py3.7.egg",
            "has_sig": false,
            "md5_digest": "f46642aad22179e6a7cf8a593f668de7",
            "packagetype": "bdist_egg",
            "python_version": "0.5.0",
            "requires_python": ">=3.7",
            "size": 31632,
            "upload_time": "2023-07-20T06:48:27",
            "upload_time_iso_8601": "2023-07-20T06:48:27.993959Z",
            "url": "https://files.pythonhosted.org/packages/1c/1a/332c19a45484a303390a923a7fd8dcdb1dac1db04a83f0f49094bd127a4a/hstreamdb-0.5.0-py3.7.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f9ccd881fc2408568784e2424d507602c10a0f1ff55b3d9d2282a1f7a1436cf",
                "md5": "6b117a2efdc86b17c540f356b7a17209",
                "sha256": "4c920e712a769bf58bd458710715e316ea6acb10aea674206ea423be17edf447"
            },
            "downloads": -1,
            "filename": "hstreamdb-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6b117a2efdc86b17c540f356b7a17209",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 11496,
            "upload_time": "2023-07-20T06:48:29",
            "upload_time_iso_8601": "2023-07-20T06:48:29.311234Z",
            "url": "https://files.pythonhosted.org/packages/7f/9c/cd881fc2408568784e2424d507602c10a0f1ff55b3d9d2282a1f7a1436cf/hstreamdb-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-20 06:48:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hstreamdb",
    "github_project": "hstreamdb-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "grpcio",
            "specs": []
        },
        {
            "name": "protobuf",
            "specs": []
        },
        {
            "name": "hstreamdb-api",
            "specs": [
                [
                    ">=",
                    "0.6.0"
                ],
                [
                    "<",
                    "0.7"
                ]
            ]
        }
    ],
    "lcname": "hstreamdb"
}
        
Elapsed time: 0.19849s