openorg-timeseries 0.1.1

An implementation of the OpenOrg time-series API

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Oxford University Computing Services
HOMEPAGE:
openorg.ecs.soton.ac.uk
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
openorg-timeseries is an implementation of the OpenOrg time-series API specification as a Django application.

Architecture

This project comprises a Django application that you can include in an existing Django project by adding 'openorg_timeseries' to your INSTALLED_APPS variable in your Django settings file.

openorg_timeseries.longliving contains a threading.Thread which mediates access to the underlying data, and which prevents ...

Demonstration application

This project comes with a demonstration web service which you can use to quickly evaluate its usefulness.

Running

First, install the necessary dependencies using pip:

 pip install -r requirements.txt

Next, start the demonstration server using the following:

 django-admin.py rundemo --settings=openorg_timeseries.demo.settings --pythonpath=.

Give it a few seconds, after which you can point a web browser at http://localhost:8000/ to see it in action.

Details

The demo site performs the following steps on start-up:

1. Creates a demo-data directory in the current directory to store data used by the demo
2. Runs the syncdb Django management command to create a sqlite3 database in the demo-data directory
3. Starts a long-living process which manages the data storage and retrieval
4. Creates a new time-series and loads in some example data
5. Runs the runserver management command (without the auto-reloader) to start the Django development server

Last updated on May 1st, 2012

feature list requirements

#OpenOrg API #Python library #OpenOrg #time-series #API #Django

Add your review!

SUBMIT