svg.charts is a pure-python library for generating charts and graphs using Scalable Vector Graphics.
Acknowledgements
svg.charts depends heavily on lxml and cssutils. Thanks to the contributors of those projects for stable, performant, standards-based packages.
Thanks to Sean E. Russel for creating the SVG::Graph Ruby package from which this Python port was originally derived.
Thanks to Leo Lapworth for creating the SVG::TT::Graph package which the Ruby port was based on.
Thanks to 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.
Contributing
This project is hosted at Github.
Please use that site for reporting bugs and requesting help. Patches and contributions of any kind are encouraged.
Release files for svg.charts 7.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| svg.charts-7.3.1.tar.gz | 37.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| svg.charts-7.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 68.8 kB
Release files / svg.charts-7.3.1.tar.gz
| Download URL | svg.charts-7.3.1.tar.gz |
|---|---|
| Size | 37.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b729269e98d14ce9e4a960a847a628967af5d234914ba713f1ef54783f5f93f4
|
|
BLAKE2b-256 checksum How to use checksums |
92bf8fc3525efe416f0e7ad74237a36de2f7242db140192473ed11c6d4ec51f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / svg.charts-7.3.1-py3-none-any.whl
| Download URL | svg.charts-7.3.1-py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30b2dafd6a7d94e511038a249f316652e796111c27e54443cc3a1f20f7cf5054
|
|
BLAKE2b-256 checksum How to use checksums |
d29969db5c96104dc43a51175e392c30591627afd9f697005ae378fd7881e1d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|