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

Uploaded Source

Built Distribution

gruffy-0.3.4-py2.7.egg (49.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for gruffy-0.3.4.tar.gz
Algorithm Hash digest
SHA256 eb164628d9fefebf81acccefbf99aaa078918c91ef70ef3cbaf9cf2be7e2460d
MD5 f172c99d476eb20b9dabaa773e041b39
BLAKE2b-256 30fb18b267ff92e46391c7cc25569b4cc74d4911e28252b1b8207782cdce0890

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gruffy-0.3.4-py2.7.egg
Algorithm Hash digest
SHA256 2a529be6e264a2e7c1ca9f6f4a2675ba677918710f8973eb3f4530fd77f6e83b
MD5 d299d1801b7823f93c754f8b264b188f
BLAKE2b-256 9697f526eb2cec2a7d577bfc15dea43e5694ab18b1fb223d480379edb5f22651

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