pycha /

Filename Size Date modified Message
117 B
517 B
14 B
58 B
2.8 KB
7.5 KB
167 B
1.6 KB
3.2 KB
9.8 KB
700 B
1.6 KB


Pycha is a very simple Python package for drawing charts using the great Cairo library. Its goals are:

  • Lightweight
  • Simple to use
  • Nice looking with default values
  • Customization

It won't try to draw any possible chart on earth but draw the most common ones nicely. There are some other options you may want to look at like pyCairoChart.

Pycha is based on Plotr which is based on PlotKit. Both libraries are written in JavaScript and are great for client web programming. I needed the same for the server side so that's the reason I ported Plotr to Python. Now we can deliver charts to people with JavaScript disabled or embed them in PDF reports.

Pycha is distributed under the terms of the GNU Lesser General Public License.


You can find Pycha's documentation at


You can get the last bleeding edge version of pycha by getting a clone of the Mercurial repository:

hg clone

Don't forget to check the Release Notes for each version to learn the new features and incompatible changes.


There is a mailing list about PyCha at You can join it to ask questions about its use or simply to talk about its development. Your ideas and feedback are greatly appreciated!

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.