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

Uploaded Source

Built Distribution

gruffy-0.3.1-py2.7.egg (44.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for gruffy-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2544aadae12882df539cad7a73cf73f3e4650a4ce8ddeaf3126439df96634c59
MD5 94bc48fe020572180ae980c3c042b687
BLAKE2b-256 005a3547cb0b7f9272477302787711b0df1b91c3cc179527e7912c31016b79d0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gruffy-0.3.1-py2.7.egg
Algorithm Hash digest
SHA256 c94f8fb4f7975c3130c603fe8b3046d8bb29497e059f0ed55c02958787acf022
MD5 4fa13cb3a71908edcecf584880872e38
BLAKE2b-256 fd37c468b1ba390a9b3983f889174faa003978f4f6b06acf7d8143bde23e5945

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