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

Uploaded Source

Built Distribution

docx_charts-0.1.12-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: docx_charts-0.1.12.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.5.5-zen1-1-zen

File hashes

Hashes for docx_charts-0.1.12.tar.gz
Algorithm Hash digest
SHA256 89acbb8e2ad1085804e7c0c26525d86675decc3156aa3507d7165e13f8ea3e3e
MD5 1863de00d17136b651e1dbebec1adbe9
BLAKE2b-256 d3ef5aef1ca1434897e0077c57abe228d533c395cde5b1637da9aff0c41cadfe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: docx_charts-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.5.5-zen1-1-zen

File hashes

Hashes for docx_charts-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 333add8dc39f85d43dbe5034f183b0a16943184a8f11603e72b9c39c3845e0ea
MD5 7c12594f16210897e88ca81e2a1718a8
BLAKE2b-256 2d9e8316165647d0ebdaf81739613887f3823ca445b255d372e22ebe7b521514

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