Python SVG Charting Library
Project description
License is indicated in the project metadata (typically one or more of the Trove classifiers). For more details, see this explanation.
Status and License
svg.charts is a pure-python library for generating charts and graphs in SVG, originally based on the SVG::Graph Ruby package by Sean E. Russel.
svg.charts supercedes svg_charts 1.1 and 1.2.
svg.charts is written by Jason R. Coombs. It is licensed under an MIT-style permissive license.
You can install it with easy_install or pip:
easy_install svg.charts pip install svg.charts
Or, check out the repository source.
Tests are continuously run by Travis-CI:
To run the tests, refer to the .travis.yml file for the steps run on the Travis-CI hosts.
Acknowledgements
svg.charts depends heavily on lxml and cssutils. Thanks to the contributors of those projects for stable, performant, standards-based packages.
Sean E. Russel for creating the SVG::Graph Ruby package from which this Python port was originally derived.
Leo Lapworth for creating the SVG::TT::Graph package which the Ruby port was based on.
Stephen Morgan for creating the TT template and SVG.
Getting Started
svg.charts has some examples (taken directly from the reference implementation) in tests/samples.py. These examples show sample usage of the various chart types. They should provide a good starting point for learning the usage of the library.
An example of using svg.charts in a CherryPy web app can be found in jaraco.site.charts. If the site is working, you can see the rendered output here.
svg.charts also provides API documentation.
More To-Dos
Documentation! This package desperately needs some high-level, tutorial-style how-tos, and not just links to example code.
Implement javascript-based animation (See JellyGraph for a Silverlight example of what simple animation can do for a charting library).
Reporting Bugs and Getting Help
This project is hosted at Github. Please use that site for reporting bugs and requesting help. Patches are also welcome.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for svg.charts-3.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d454e6584677bc4e243d0ead64bd7bbfe51dacfef5766e24e6c3fb70c2cb1a1 |
|
MD5 | 1f5466eb2eb2fb9aff907223c9350cdc |
|
BLAKE2b-256 | 9d3d6c32a4005228895b5f7621a3928890967c6e907fc7fafe2ea2fd04720b16 |