Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damiencorpataux/pyrrdtool
A python rrdtool facade wip
https://github.com/damiencorpataux/pyrrdtool
Last synced: 2 days ago
JSON representation
A python rrdtool facade wip
- Host: GitHub
- URL: https://github.com/damiencorpataux/pyrrdtool
- Owner: damiencorpataux
- Created: 2014-01-17T22:57:48.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-13T09:25:30.000Z (over 10 years ago)
- Last Synced: 2024-04-29T00:09:26.192Z (6 months ago)
- Language: Python
- Homepage:
- Size: 398 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pyrrdtool
=========**A python rrdtool facade** - work in progress
The purpose of thie rrdtool-cli facade library is to make
the configuration of rrd creation, update and graph easier and faster.```python
import pyrrdtool as rrd
db = rrd.Database.load('tests/samples/mini.rrd')
speed = rrd.Variable(db, 'speed')
g = rrd.Graph([rrd.DEF.from_variable(speed)],
[rrd.AREA.from_variable(speed, {'color': 'ffffcc'}),
rrd.LINE.from_variable(speed, {'width': 2, 'color': 'ccff33'})])
png_binary = g.draw()
```By enabling the user to *create definitions* of rrdatabases, datasouces
and graphs that are *modular* and *reusable* for creating, updating and graphing
a wide variety of graphs, easily and with peace of mind.Along with a python API to call rrdtool features such as create, update, fetch
and graph that is easier and faster to use, with default and automatic cli options
generation.It should be easy to provide the graphing feature as a REST API that return
graph images binaries (see [rrdli](https://github.com/damiencorpataux/rrdli)).--
Because writing this library is also an in-depth learning of rrdtool,
the code should be commented nicely to *promote the understanding of what's happening*