Skip to main content

Zenaton client library

Project description

This is the official Python client library for Zenaton (https://zenaton.com/).

https://travis-ci.org/zenaton/zenaton-python.svg?branch=master

Requirements

Supported Python versions are 2.7 and 3.3+.

Installing

Install the latest stable release using pip:

$ pip install zenaton

Alternatively, you can install the latest development version from GitHub:

$ pip install -e git+https://github.com/zenaton/zenaton-python.git#egg=zenaton

Getting started

  1. In a first terminal, download and start the Zenaton worker:

    $ cd /path/to/my/project
    $ curl -O https://zenaton.com/dist/zenaton_worker
    $ chmod +x zenaton_worker
    $ ./zenaton_worker
  2. In another terminal, create a virtualenv for your project and activate it:

    $ cd /path/to/my/project
    $ virtualenv venv
    $ source venv/bin/activate
  3. Get the Zenaton Python examples:

    $ git clone https://github.com/zenaton/examples-python.git
    $ cd examples-python
    $ pip install -e .
  4. Go to your Zenaton dashboard to get your application ID and an API token:

    $ export ZENATON_APP_ID=<your application id>
    $ export ZENATON_API_TOKEN=<your api token>
    $ export ZENATON_APP_ENV=dev
  5. Send the config to the Zenaton worker:

    $ zenaton_init
  6. Launch an example:

    $ python zenaton_examples/launch_sequential.py

0.1.2 (unreleased)

  • Nothing changed yet.

0.1.1 (2017-09-08)

  • Improved packaging

0.1.0 (2017-09-08)

  • Initial release

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

zenaton-0.1.3.tar.gz (24.0 kB view hashes)

Uploaded Source

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