Skip to main content

Python library for manipulating chart data in word documents

Project description

docx-charts

Python library for manipulating chart data in word documents

Disclaimer: this is a project made for a very specific usecase, because nothing better existed yet. No stability guarantees are made, and the API is subject to change :)

 

Example

from docx_charts import Document

doc = Document('example.docx')
chart = doc.find_charts_by_name('Chart 1')[0]
data = chart.data()
data['student_total']['CTB1002 Linear Algebra'] = 0.6
chart.write(data)
doc.save()

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

docx_charts-0.1.10.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

docx_charts-0.1.10-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file docx_charts-0.1.10.tar.gz.

File metadata

  • Download URL: docx_charts-0.1.10.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.4-zen1-1-zen

File hashes

Hashes for docx_charts-0.1.10.tar.gz
Algorithm Hash digest
SHA256 26093029409fe5c21aa9adfc1f8540eb7a62991a55d33f22950a74b8f7b5d6f9
MD5 875174162832f7243e560cb4e7117c7e
BLAKE2b-256 bd383b19becb1128f73c943943e923271813d8b50ff1534213f0fdfaf5341bdb

See more details on using hashes here.

File details

Details for the file docx_charts-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: docx_charts-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.4-zen1-1-zen

File hashes

Hashes for docx_charts-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 cf771f504f4cfd81fdba761375449e4138a5190a91033bfdf75c56be10a8c94c
MD5 c498289ffd4e68025e771f2df48ec88d
BLAKE2b-256 380933a8134f635faf5e5a3a4214c1e3a14cd6865db37ee16493dd1ea63b2faf

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