exposes the ondewo-csi endpoints in a user-friendly way
Project description
ONDEWO-CSI Client Library
This library facilitates the interaction between a user and an ONDEWO-CSI server instance.
It is structured around a series of python files generated from protobuf files. These protobuf files specify the details of the interface, and can be used to generate code in 10+ high-level languages. They are found in the apis submodule.
Python Installation
git clone git@github.com:ondewo/ondewo-csi-client-python.git
cd ondewo-csi-client-python
pip install -e .
Let's Get Started! (WIP)
Import your programming interface:
ls ondewo
Get a suitable example:
ls examples
Examples
To use the example script, you need pyaudio and/or pysoundio installed.
sudo apt install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
sudo apt install -y ffmpeg libav-tools
pip install pyaudio
sudo apt install -y libsoundio-dev
pip install pysoundio
once you have those installed, you can run ./ondewo/csi/examples/speech2speech_example.py
Automatic Release Process
The entire process is automated to make development easier. The actual steps are simple:
TODOs in Pull Request before the release:
-
Update the Version number inside the Makefile
- ! : Major and Minor Version Number must be the same for Client and API at all times
example: API 2.9.0 --> Client 2.9.X
- ! : Major and Minor Version Number must be the same for Client and API at all times
-
Check if RELEASE.md is up-to-date
-
Update the Version number inside the setup.py by using:
make update_setup
TODOs after Pull Request was merged in:
- Checkout master:
git checkout master
- Pull the new stuff:
git pull
- Release:
make ondewo_release
The make ondewo_release
command can be divided into 5 steps:
- cloning the devops-accounts repository and extracting the credentials
- creating and pushing the release branch
- creating and pushing the release tag
- creating the GitHub release
- creating and pushing the new PyPi release
The variables for the GitHub Access Token, PyPi Username and Password are all inside
of the Makefile, but the values are overwritten during make ondewo_release
, because
they are passed from the devops-accounts repo as arguments to the actual release
command.
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
File details
Details for the file ondewo-csi-client-2.11.1.tar.gz
.
File metadata
- Download URL: ondewo-csi-client-2.11.1.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ae6c770ff26ad17624ebc6f89fdd7670afa2aa552e8b6d040586e2259dd7ffe |
|
MD5 | 8bc394d328c894fd170cc881054cc04d |
|
BLAKE2b-256 | d73dbc2bc0e646ef1ac1d0788da1b3856b915cba8679166abf8e0d9ee54d61b1 |
File details
Details for the file ondewo_csi_client-2.11.1-py2.py3-none-any.whl
.
File metadata
- Download URL: ondewo_csi_client-2.11.1-py2.py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 865395a3b205bd00d60408c291cb4c39b58356f7108c21134e95f01e3d087f52 |
|
MD5 | d89ded2a1b5b16e38a6536a78063c4d6 |
|
BLAKE2b-256 | 8ab3cca676880edb4dd52732bda0905fae338956bd810fb902d9f3da65154be3 |