Skip to main content

Gruffy is Python implemetation of Gruff(Ruby Graphing Library)

Project description

About

Gruffy is a yet another Python Graphing Library. inspired by Gruff (Ruby Graphing Library).

This module using pgmagick (GraphicsMagick) .

Install

Install from PyPI:

$ pip install gruffy

Require

pgmagick module.

package install on Ubuntu:

$ apt-get install libgraphicsmagick++-dev
$ apt-get install libboost-python1.40-dev
$ pip install pgmagick

Basic 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')

Getting the source

Download from github or PyPI

Documentation

Gruffy Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gruffy-0.3.3.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

gruffy-0.3.3-py2.7.egg (46.5 kB view details)

Uploaded Source

File details

Details for the file gruffy-0.3.3.tar.gz.

File metadata

  • Download URL: gruffy-0.3.3.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gruffy-0.3.3.tar.gz
Algorithm Hash digest
SHA256 0af51ac31c2d8d2fe44bb45d79e0296fb4202ebd91c14007457f35ff84e057ba
MD5 5ec56554b4ddf9dff78b4ac4c5ccc70d
BLAKE2b-256 d37f55e17049b51c1cbb54090e8e5beb535298434f144b560e7e77017cf4705f

See more details on using hashes here.

File details

Details for the file gruffy-0.3.3-py2.7.egg.

File metadata

  • Download URL: gruffy-0.3.3-py2.7.egg
  • Upload date:
  • Size: 46.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gruffy-0.3.3-py2.7.egg
Algorithm Hash digest
SHA256 aa2e5322537a99c3019d0b9b74ecc70372d3867cd22ec7c9b820230048b4044d
MD5 3cf9c1ac0f9b0a58c40f2750d1e74480
BLAKE2b-256 3a863f77e47a29ae5677722dde7426b2747f7c12be30713179ae823d40c400a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page