Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a webservice to help graphing data.
Python
Branch: master

README for nic's data bin.

latest commit 6cad2fe0cf
nferrier authored
Failed to load latest commit information.
README.creole README for nic's data bin.
databin.py start of a web graphing tool
test.py start of a web graphing tool

README.creole

Making arbitary graphs from data isn't easy... especially when the data is on a well protected SQL server in the infrastructure of some web startup.

This project, which hasn't got a name yet, is an attempt to solve that.

I am aiming for a RESTfull view of a table of data so that you can change the metadata associated with a graph and a table of data as easily as you can change a wiki.

The first step is to get the data into the webservice and for this I have rewritten SQL COPY. Well, ok. it's a bit more advanced than that.

I am aiming for something that is as easy as this to use:

psql db -c 'SELECT domain, time, count FROM sometable;' \
    | curl -s http://nicsdatabin.com/' \
           -d domain=text \
           -d time='timestamp with timezone' \
           -d count=integer \
           -d data=@-

this example is with Postgresql.

Something went wrong with that request. Please try again.