Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hhatto/gruffy
Gruffy is Python implemetation of Gruff(Ruby's Graphing Library http://nubyonrails.com/pages/gruff)
https://github.com/hhatto/gruffy
Last synced: about 1 month ago
JSON representation
Gruffy is Python implemetation of Gruff(Ruby's Graphing Library http://nubyonrails.com/pages/gruff)
- Host: GitHub
- URL: https://github.com/hhatto/gruffy
- Owner: hhatto
- License: mit
- Created: 2010-09-16T17:06:12.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2013-04-17T15:12:53.000Z (over 11 years ago)
- Last Synced: 2024-05-09T21:56:26.998Z (6 months ago)
- Language: Python
- Homepage: http://pypi.python.org/pypi/gruffy/
- Size: 355 KB
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Gruffy
======
Python Graphing LibraryAbout
-----
Gruffy is a yet another Python Graphing Library.
inspired by `Gruff`_ (Ruby Graphing Library).This module using `pgmagick`_ (GraphicsMagick) .
.. _`Gruff`: http://nubyonrails.com/pages/gruff
.. _`pgmagick`: http://pypi.python.org/pypi/pgmagick/Installation
------------
Install from PyPI::$ pip install gruffy
Requirements
------------
`pgmagick`_ module.package install on Ubuntu::
$ apt-get install libgraphicsmagick++-dev
$ apt-get install libboost-python1.40-dev
$ pip install pgmagickBasic Usage
-----------Bar Graph Sample::
from gruffy import Bar
g = Bar()
g.title = "Gruffy's Graph"g.data("Apples", [1, 2, 3, 4, 4, 3])
g.data("Oranges", [4, 8, 7, 9, 8, 9])
g.data("Watermelon", [2, 3, 1, 5, 6, 8])
g.data("Peaches", [9, 9, 10, 8, 7, 9])g.labels = {0: '2003', 2: '2004', 4: '2005'}
g.write('sample.png')
Documentation
-------------
`Gruffy Documentation`_.. _`Gruffy Documentation`: http://www.hexacosa.net/documents/gruffy/
Links
-----
* PyPI_
* GitHub_
* Jenkins_.. _PyPI: http://pypi.python.org/pypi/gruffy
.. _GitHub: http://github.com/hhatto/gruffy
.. _Jenkins: http://jenkins.hexacosa.net/job/gruffy/