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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89acbb8e2ad1085804e7c0c26525d86675decc3156aa3507d7165e13f8ea3e3e
|
|
| MD5 |
1863de00d17136b651e1dbebec1adbe9
|
|
| BLAKE2b-256 |
d3ef5aef1ca1434897e0077c57abe228d533c395cde5b1637da9aff0c41cadfe
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
333add8dc39f85d43dbe5034f183b0a16943184a8f11603e72b9c39c3845e0ea
|
|
| MD5 |
7c12594f16210897e88ca81e2a1718a8
|
|
| BLAKE2b-256 |
2d9e8316165647d0ebdaf81739613887f3823ca445b255d372e22ebe7b521514
|