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

Uploaded Source

Built Distribution

gruffy-0.2.2-py2.6.egg (44.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for gruffy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 0adb93c14ce1275e0e16f6ae6e1b571eb0d72030841082f3025d019746b6e3cb
MD5 4b0c827c72808aff508e8caa5c0015d7
BLAKE2b-256 f39845df9e6bddaf575f202cc45b366b1e6d9dd6f93c8bffd9bc2176eed56888

See more details on using hashes here.

File details

Details for the file gruffy-0.2.2-py2.6.egg.

File metadata

  • Download URL: gruffy-0.2.2-py2.6.egg
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gruffy-0.2.2-py2.6.egg
Algorithm Hash digest
SHA256 5fe284943a4d3f751b8b9fc1452a6765b886d61d336f4063aaf934efcd188261
MD5 25bf7c695bde50adac322c922ff23dcd
BLAKE2b-256 780b1d1240f7c76c86ff070c7cd84fbe47e411b1d63622e8f288ad2b751f8a44

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