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 Code style: Black https://readthedocs.org/projects/svgcharts/badge/?version=latest https://img.shields.io/badge/skeleton-2023-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.0.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: svg.charts-7.3.0.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for svg.charts-7.3.0.tar.gz
Algorithm Hash digest
SHA256 4b7f481bdfa9191e4426e004c7a328e05ff13439ee6923d6e45ddaa3601ef689
MD5 7344fdfff9fe1e2c0d0e4fe4bea4572b
BLAKE2b-256 70af6f37f01582de05c790c9576e4f9a527df3af6450f7abb7a2954b1ab794be

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for svg.charts-7.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94a43eda9579be21d91c45d5217d43d5314f04386a66f2b26bd49566c06ea081
MD5 b510dd1dce895cb2ff1e3ffeff20dd85
BLAKE2b-256 c02effa7c0d6af2e0935bbe43325fa536cee83534677518d0983e78b46d08231

See more details on using hashes here.

Provenance

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