This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Vizier: a python reporting library

Originally intended to be a fork of cairoplot to add new reporting functionality,
vizier has been completely re-written and re-imagined to provide a dead-easy
reporting and graphing alternative for python using cairo.

Notable features include::

* the creation and management of multi-page documents ("books"); and
* different types of plots (e.g. bar, line, scatter) on one graph

Vizier was inspired by the fine work of the contributors and maintainers of
the CairoPlot project, who sadly have not had time to continue their work. See
`CairoPlot's project page on Launchpad <>`_.

Note: libcairo >= 1.10.1 recommended, to fix a bug with multi-page PDF clipping.

Installing on Windows

Grab a recent version of GTK+, which includes Cairo. You can download an installer here:

Now, get vizier. In the root vizier directory, run::

python install

You should now be able to run one of the examples. Try::

python examples/

If abc.pdf is created and looks relatively sane, you're ready to go.

Quick Example

A multi-page PDF could be created as follows::

#!/usr/bin/env python

from import PDFBook, SimplePage, GridPage, Inch, TextSpace, LEFT, BOTTOM
from vizier.plot import BarGraph, Graph, BarPlot, LinePlot
book = PDFBook(units=Inch)

bar_graph = BarGraph([1, 2, 3, 4, 5, 6, 7])
page = SimplePage(width=11, height=8.5, margin=0.5, spacing=0.5)
page[0] = bar_graph

complex_graph = ContinuousPlot(legend=True, x_grid=(0, 0.2), y_grid=(0, 0.5))

# each tuple in the data is (x, y, y-error)
LineSeries("Raw Observations", [(0, 0.03, 0.016), (1, 0.18, 0.034), (2, 0.176, 0.016)]),

# each tuple in the data is (x[start, end], y, y-error)
AreaSeries("Other Things", [((-0.5, 0.5), 1.03, 0.016), ((0.5, 1.5), 1.21, 0.034), ((1.5, 2.5), 1.386, 0.034)]),

# show a threshold at y=4.25
Threshold("Warning", "Imminent Catastrophic Destruction", 4.25)

vlayout = VerticalLayout(0.1, 0.6) # splits a space vertically into 3.
vlayout[0] = TextSpace("This layout", halign=LEFT)
vlayout[1] = TextSpace("is split up into 3")
vlayout[2] = TextSpace("non-uniformly!", valign=BOTTOM)

page = GridPage(2, 2, width=11, height=8.5)
page[0, 0] = TextSpace("This happens to be a graph.")
page[0, 1] = complex_graph
page[1, 0] = complex_graph
page[1, 1] = vlayout

fp = open("abc.pdf", 'wb')
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
vizier-0.1dev.tar.gz (18.3 kB) Copy SHA256 Checksum SHA256 Source Oct 21, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting