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

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

Uploaded Source

Built Distribution

gruffy-0.2.0-py2.6.egg (44.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for gruffy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b311baafb15ab3f9686310f479e609331648b4cd920899504b942b8f38426c2b
MD5 77bfba5ff9294686870966c7eb588d71
BLAKE2b-256 a17ddc9bf848dbdb00b1873e4729ea5b42af8062938dd7c16e779f9d24056e43

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gruffy-0.2.0-py2.6.egg
Algorithm Hash digest
SHA256 28d77ba3c32fe541fa8b03aba163ede66cba07a72e60430355d06ad90feb8ebb
MD5 8457f5077ee03f8cdc84094950d6fd63
BLAKE2b-256 fbc447f66fe56d3ed7f221fd848a6bda84f9f293db8915c7103328437cb862b4

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