Skip to main content

exposes the ondewo-csi endpoints in a user-friendly way

Project description

Logo

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

  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ondewo-csi-client-2.10.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

ondewo_csi_client-2.10.0-py2.py3-none-any.whl (16.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ondewo-csi-client-2.10.0.tar.gz.

File metadata

  • Download URL: ondewo-csi-client-2.10.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for ondewo-csi-client-2.10.0.tar.gz
Algorithm Hash digest
SHA256 def234d494bad3d2f4ec18d92cd66b2c98b7e681cfe4bcf8fc18c34ed2ef07b5
MD5 cf996baff8225d8fa597ae8e66143786
BLAKE2b-256 928b5fc4e3f4a4ce16b5c049ea6c885f15348ac11f4b085cd0ddb1396324b33a

See more details on using hashes here.

File details

Details for the file ondewo_csi_client-2.10.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ondewo_csi_client-2.10.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5ee3f6d8f9adb798bd7200b9f2160fe1d3a9a90846476d8899741d138eef21d0
MD5 c1110cbe8681e60df600b9ff9be63602
BLAKE2b-256 5bb97107f0675e151c0cffc31b13772730b0f4e58e7fcbc03eb6e9aa44f820c7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page