Name | feldera JSON |
Version |
0.37.0
JSON |
| download |
home_page | None |
Summary | The feldera python client |
upload_time | 2025-02-12 19:03:09 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | MIT |
keywords |
feldera
python
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Feldera Python SDK
Feldera Python is the Feldera SDK for Python developers.
## Installation
```bash
pip install feldera
```
### Installing from Github
```bash
pip install git+https://github.com/feldera/feldera#subdirectory=python
```
Similarly, to install from a specific branch:
```bash
$ pip install git+https://github.com/feldera/feldera@{BRANCH_NAME}#subdirectory=python
```
Replace `{BRANCH_NAME}` with the name of the branch you want to install from.
### Installing from Local Directory
If you have cloned the Feldera repo, you can install the python SDK as follows:
```bash
# the Feldera Python SDK is present inside the python/ directory
pip install python/
```
Checkout the docs [here](./feldera/__init__.py) for an example on how to use the SDK.
## Documentation
To build the html documentation run:
Ensure that you have sphinx installed. If not, install it using `pip install sphinx`.
Then run the following commands:
```bash
cd docs
sphinx-apidoc -o . ../feldera
make html
```
To clean the build, run `make clean`.
## Testing
To run unit tests:
```bash
(cd python && python3 -m unittest)
```
The following command runs end-to-end tests. You'll need a pipeline
manager running at `http://localhost:8080`. For the pipeline builder
tests, you'll also need a broker available at `localhost:9092` and
(from the pipelines) `redpanda:19092`. (To change those locations,
set the environment variables listed in `python/tests/__init__.py`.)
```bash
(cd python/tests && python3 -m pytest .)
```
To run tests from a specific file:
```bash
(cd python/tests && python3 -m unittest ./tests/path-to-file.py)
```
To run the aggregate tests use:
```bash
cd python
PYTHONPATH=`pwd` python3 ./tests/aggregate_tests/main.py
```
Raw data
{
"_id": null,
"home_page": null,
"name": "feldera",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "feldera, python",
"author": null,
"author_email": "Abhinav <abhinav.gyawali@feldera.com>",
"download_url": "https://files.pythonhosted.org/packages/db/c4/ba8816d1d930a1c5bdd800cace174311f66c706148a0b25b32242d04dc97/feldera-0.37.0.tar.gz",
"platform": null,
"description": "# Feldera Python SDK\n\nFeldera Python is the Feldera SDK for Python developers.\n\n## Installation\n\n```bash\npip install feldera\n```\n\n### Installing from Github\n\n```bash\npip install git+https://github.com/feldera/feldera#subdirectory=python\n```\n\nSimilarly, to install from a specific branch:\n\n```bash\n$ pip install git+https://github.com/feldera/feldera@{BRANCH_NAME}#subdirectory=python\n```\n\nReplace `{BRANCH_NAME}` with the name of the branch you want to install from.\n\n### Installing from Local Directory\n\nIf you have cloned the Feldera repo, you can install the python SDK as follows:\n\n```bash\n# the Feldera Python SDK is present inside the python/ directory\npip install python/\n```\n\nCheckout the docs [here](./feldera/__init__.py) for an example on how to use the SDK.\n\n## Documentation\n\nTo build the html documentation run:\n\nEnsure that you have sphinx installed. If not, install it using `pip install sphinx`.\n\nThen run the following commands:\n\n```bash\ncd docs\nsphinx-apidoc -o . ../feldera\nmake html\n```\n\nTo clean the build, run `make clean`.\n\n## Testing\n\nTo run unit tests:\n\n```bash\n(cd python && python3 -m unittest)\n```\n\nThe following command runs end-to-end tests. You'll need a pipeline\nmanager running at `http://localhost:8080`. For the pipeline builder\ntests, you'll also need a broker available at `localhost:9092` and\n(from the pipelines) `redpanda:19092`. (To change those locations,\nset the environment variables listed in `python/tests/__init__.py`.)\n\n```bash\n(cd python/tests && python3 -m pytest .)\n```\n\nTo run tests from a specific file:\n\n```bash\n(cd python/tests && python3 -m unittest ./tests/path-to-file.py)\n```\n\nTo run the aggregate tests use:\n\n```bash\ncd python\nPYTHONPATH=`pwd` python3 ./tests/aggregate_tests/main.py\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "The feldera python client",
"version": "0.37.0",
"project_urls": {
"Documentation": "https://docs.feldera.com/python",
"Homepage": "https://www.feldera.com",
"Issues": "https://github.com/feldera/feldera/issues",
"Repository": "https://github.com/feldera/feldera"
},
"split_keywords": [
"feldera",
" python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "460e134d06e1c06df726e6a95ac7faa92ae30c67c51f87137f6579d450df16e8",
"md5": "aafda2940c41ec7e2a48eff8ace7d253",
"sha256": "cc08e5897fd32fe1c882709dd1e3cf3ee1e970e64610a42bdad4c058751f8962"
},
"downloads": -1,
"filename": "feldera-0.37.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "aafda2940c41ec7e2a48eff8ace7d253",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 26088,
"upload_time": "2025-02-12T19:03:07",
"upload_time_iso_8601": "2025-02-12T19:03:07.416126Z",
"url": "https://files.pythonhosted.org/packages/46/0e/134d06e1c06df726e6a95ac7faa92ae30c67c51f87137f6579d450df16e8/feldera-0.37.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "dbc4ba8816d1d930a1c5bdd800cace174311f66c706148a0b25b32242d04dc97",
"md5": "12b150a5a788c38ac1386b134f38112e",
"sha256": "97340ffb39498f6012a0027dc35a8b703993a6b2796c21846c4edc68b51a20de"
},
"downloads": -1,
"filename": "feldera-0.37.0.tar.gz",
"has_sig": false,
"md5_digest": "12b150a5a788c38ac1386b134f38112e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 30273,
"upload_time": "2025-02-12T19:03:09",
"upload_time_iso_8601": "2025-02-12T19:03:09.206264Z",
"url": "https://files.pythonhosted.org/packages/db/c4/ba8816d1d930a1c5bdd800cace174311f66c706148a0b25b32242d04dc97/feldera-0.37.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-12 19:03:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "feldera",
"github_project": "feldera",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "feldera"
}