Skip to main content

This library facilitates the interaction between a user and his/her Survey server.

Project description

ONDEWO Logo

Ondewo Survey Client Library

This library facilitates the interaction between a user and his/her Survey server. It achieves this by providing a higher-level interface mediator.

This higher-level interface mediator is structured around a series of python files genereted from protobuff 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 along with the older Google protobufs from Dialogueflow that were used at the start.

Python Installation

You can install the library by installing it directly from the pypi:

pip install ondewo-survey-client

Or, you could clone it and install the requirements:

git clone git@github.com:ondewo/ondewo-survey-client-python.git
cd ondewo-survey-client-python
pip install -e .

Let's Get Started! (WIP)

Import your programming interface:

ls ondewo

Get a suitable example:

ls examples

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-survey-client-1.0.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

ondewo_survey_client-1.0.0-py2.py3-none-any.whl (11.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ondewo-survey-client-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for ondewo-survey-client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f5ab9958becb2f36222708ca2439ef69747dc7ee8f8d0397ef4c0f925cb0cb6b
MD5 e1734cef7fcc05bb48c7484befb10a64
BLAKE2b-256 3de50fad7434973d7701fcac4b7cb83f326c11ad28ec78d7deed4906fde26ef7

See more details on using hashes here.

File details

Details for the file ondewo_survey_client-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ondewo_survey_client-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2dcbc00ab4efa944185a7685267f0a0323a4c7ee604dabcc9a39c80e2cff68b4
MD5 6caf0b13666a3aa7ea71a79c56a6bdf6
BLAKE2b-256 d7d9578c06740427a21354e0214cd4673ef8adc5769c99f6b61cc5abff504531

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