Skip to content

pombredanne/ovation-python

Repository files navigation

Ovation Python API

Ovation is the powerful data management service engineered specifically for scientists that liberates research through organization of multiple data formats and sources, the ability to link raw data with analysis and the freedom to safely share all of this with colleagues and collaborators.

The Ovation Python API wraps the Ovation Java API for use by CPython. Through this Python API, CPython users can access the full functionality of the Ovation ecosystem from within Python.

Jython users can access the Ovation Java API directly and should not use this Python API.

Requirements

  • Java 1.6+
  • CPython 2.7+ or 3.3+
  • NumPy 1.7+
  • Quantities 0.10+

Building

To build the python wrapper at the command line:

mvn clean compile

Build requires:

  • Java 1.6 or later
  • Maven 3 or later
  • CPython 2.7 or later

Installation

Install the ovation package from PyPI <http://pypi.python.org>_:

easy_install ovation

Windows

VS2008 Runtime: http://www.microsoft.com/en-us/download/details.aspx?id=29

Install Cython, NumPy, Scipy binaries from http://www.lfd.uci.edu/~gohlke/pythonlibs/#cython

Add to Path:

C:\Program Files\Java\[jre7]\bin\client
C:\Program Files\Java\[jre7]\bin\client

OS X

Install the ovation package from PyPI:

easy_install ovation

Note: if you are using Ovation from a Python virtualenv, see the wiki

Usage

Connecting to the Ovation database

>> from ovation import *
>> from ovation.connection import connect
>> dsc = connect(<ovation.io user email>)
Ovation password: <ovation.io password>
>> context = dsc.getContext()

About

Ovation Python API

Resources

License

Stars

Watchers

Forks

Packages

No packages published