skip to navigation
skip to content

pyonep 0.7.1

Python bindings for Exosite API over HTTP JSON RPC.

Latest Version: 0.13.8

About pyonep
This project contains a package called "pyonep". The pyonep package is an
API library with python bindings to the Exosite One Platform API. The API is
exposed over HTTP in a JSON RPC style interface.

Recommended with python 2.6 or later.

License is BSD, Copyright 2011, Exosite LLC (see LICENSE file)

Required Python Packages
1) python-simplejson (python 2.5 and earlier only)

Simplejson only necessary for python version 2.5 and earlier. For python 2.6
and later, the library uses the native "python-json" package.

1.) Unpack the distribution archive (if necessary)

2.) Navigate into the root "pyonep" directory

3.) Install the package:

python install

4.) If you do not want to install the package, or cannot due to system
limitations, simply copy the ./pyonep/pyonep folder into the same folder as your
script. Or, alternatively, add the ./pyonep/pyonep folder to your sys.path.

Quick Start

There are two primary ways to use pyonep: buffered
access, and direct access.

1.) Buffered access: import per:

from pyonep.datastore import Datastore

This library requires you to initialize with the following parameters:

- cik: a 40 character "client interface key" that authenticates your
application with the One Platform

- interval: number of seconds between One Platform publish activity. Even if
your application calls the "write" function more often than this
interval, the data will be grouped to be published at this interval

- autocreate: dataport parameter setup - see the One Platform documentation
for more information about dataport parameters.

- datastore_config: local write buffer and read cache parameter setup

- transport_config: Exosite server parameter setup

For examples, reference example scripts in the ./pyonep/examples/ folder.
Note that to run the examples without installing the pyonep package, the
example script must be located in the root folder (with ./pyonep as a

2.) It is also possible to use directly, passing the cik with each request.

For more information on the API, see:


0.7.1 (2013-7-18)

- merge a few bug fixes from Exosite internal repo
- remove comment command
- fix multiple command example

0.7.0 (2013-7-18)

- renamed onepv1lib package to pyonep
- renamed onep_exceptions back to exceptions


- add usage command


- add support for https


- add support for sending multiple commands in a single request


- add provisioning library


- update example code


- initial version  
File Type Py Version Uploaded on Size
pyonep-0.7.1.tar.gz (md5) Source 2013-07-19 13KB