Skip to main content

Python SVG Charting Library

Project description

https://img.shields.io/pypi/v/svg.charts.svg https://img.shields.io/pypi/pyversions/svg.charts.svg tests Ruff https://readthedocs.org/projects/svgcharts/badge/?version=latest https://img.shields.io/badge/skeleton-2024-informational

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.

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

svg.charts-7.3.1.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

svg.charts-7.3.1-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file svg.charts-7.3.1.tar.gz.

File metadata

  • Download URL: svg.charts-7.3.1.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for svg.charts-7.3.1.tar.gz
Algorithm Hash digest
SHA256 b729269e98d14ce9e4a960a847a628967af5d234914ba713f1ef54783f5f93f4
MD5 e1fe8032a3d69c4c6f1cbea7f12bc7bb
BLAKE2b-256 92bf8fc3525efe416f0e7ad74237a36de2f7242db140192473ed11c6d4ec51f4

See more details on using hashes here.

File details

Details for the file svg.charts-7.3.1-py3-none-any.whl.

File metadata

  • Download URL: svg.charts-7.3.1-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for svg.charts-7.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30b2dafd6a7d94e511038a249f316652e796111c27e54443cc3a1f20f7cf5054
MD5 f8dc1efdfee86baf8ccd1448d4a926cf
BLAKE2b-256 d29969db5c96104dc43a51175e392c30591627afd9f697005ae378fd7881e1d0

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