The feldera python client
Project description
Feldera Python SDK
Feldera Python is the Feldera SDK for Python developers.
Installation
uv pip install feldera
Installing from Github
uv pip install git+https://github.com/feldera/feldera#subdirectory=python
Similarly, to install from a specific branch:
uv 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:
# the Feldera Python SDK is present inside the python/ directory
cd python
# If you don't have a virtual environment, create one
uv venv
source .venv/activate
# Install the SDK in editable mode
uv pip install .
You also have to install the pytest module:
python3 -m pip install pytest
Documentation
The Python SDK documentation is available at Feldera Python SDK Docs.
To build the html documentation run:
Ensure that you have sphinx installed. If not, install it using uv pip install sphinx.
Then run the following commands:
cd docs
sphinx-apidoc -o . ../feldera
make html
To clean the build, run make clean.
Linting and formatting
Use Ruff to run the lint checks that will be executed by the precommit hook when a PR is submitted:
ruff check python/
To reformat the code in the same way as the precommit hook:
ruff format
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file feldera-0.133.0.tar.gz.
File metadata
- Download URL: feldera-0.133.0.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f14c4c06e90481ff069faca07ccc1fa7e9bd582f294eecc3fc3eff66a85d45df
|
|
| MD5 |
409f623b97fbaaca72e008b74ebc6d21
|
|
| BLAKE2b-256 |
1cb1c1ddc4ea7c42916893563903c506f61d511093a80a590bd77f4278f5fa8b
|
File details
Details for the file feldera-0.133.0-py3-none-any.whl.
File metadata
- Download URL: feldera-0.133.0-py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2d88aa3c9dd9695ef7dd04230fe2164e93bbaa56c01d2b13736b654a76f2f86
|
|
| MD5 |
f6172e7fd1c24b7827cc6362b245bc29
|
|
| BLAKE2b-256 |
8dcdd7f1d688781f0b3dfb0b81c2ecdea6433e145d27db13af84a61cf0945328
|