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.7.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

docx_charts-0.1.7-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: docx_charts-0.1.7.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.3-zen1-2-zen

File hashes

Hashes for docx_charts-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8391db79d63e0f097875e163c463672523c9b03a347243f78e2cd085c1d62522
MD5 a544e9e3ce03edbf8633b6902ded36e2
BLAKE2b-256 5e0688b0532a18017e574989d758a215acdd539dfeaff6f86c23473aa9c42c4f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for docx_charts-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c038a1bfd692ddd04cc22082659680dc531460811579e87327be2f78309b21d4
MD5 b497796c5c8b01a2f0fa965d3148413d
BLAKE2b-256 beefbd68b41c06d3556b3beb37f8c5c15d7c9a45065d45f01b96658b005092f9

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