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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: docx_charts-0.1.8.tar.gz
  • Upload date:
  • Size: 3.8 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.8.tar.gz
Algorithm Hash digest
SHA256 550c942d64b8818d717deadd481cc2a538650c0e2ae0b4bda6a2e53295abb2b7
MD5 662c781e97f453b71f214ea6739781c0
BLAKE2b-256 8851b6bda938204684508d3fe018edd57c2a934e869fac44ea1843592c5b7ca7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: docx_charts-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 035e93b3ebc3be1fa1f3074f30b6592750935d3e760bb8f7df94dc90c5a399c9
MD5 60a557756ec416655f09795314a8b221
BLAKE2b-256 6326638d8724738f11111f4cb67fb43a2fcd5ea50900920f458e235e7fd0f5cb

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