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.2.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

gruffy-0.3.2-py2.7.egg (44.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for gruffy-0.3.2.tar.gz
Algorithm Hash digest
SHA256 10cedebbc9a6aa30770bec48b76585321afc4d43a0732409e5e8537dc431b174
MD5 c161a497b99b198d4f7b52bad55076d4
BLAKE2b-256 0d2810bb400abf27ce16742e6dc3c8eae580c9d368bb3827027dbaefc0a9ce75

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gruffy-0.3.2-py2.7.egg
Algorithm Hash digest
SHA256 622e870699c2c301e64c9a6904060565d6119500b8c9e5258785920e2a026c5b
MD5 99c3f8b5ac8004304698bd09c7dae45a
BLAKE2b-256 3a686a144e216390eb828e77eada3fb6993dea6f382dba1204e970da31bb8386

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