python-docx
python-docx is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
Installation
pip install python-docx
Example
>>> from docx import Document
>>> document = Document()
>>> document.add_paragraph("It was a dark and stormy night.")
<docx.text.paragraph.Paragraph object at 0x10f19e760>
>>> document.save("dark-and-stormy.docx")
>>> document = Document("dark-and-stormy.docx")
>>> document.paragraphs[0].text
'It was a dark and stormy night.'
More information is available in the python-docx documentation
Metadata
Release files for python-docx-huge-tree 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_docx_huge_tree-1.2.0.tar.gz | 5.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_docx_huge_tree-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 MB
Release files / python_docx_huge_tree-1.2.0.tar.gz
| Download URL | python_docx_huge_tree-1.2.0.tar.gz |
|---|---|
| Size | 5.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd8d2f1025fe2b1756ad904ef17533c2e1a1c2ac3e8486f465c8e00cc5c1e302
|
|
BLAKE2b-256 checksum How to use checksums |
1278e5f11ed3ed4be8ba19f317bc524bbe66542d05f11d34ab9af5151bbfef1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / python_docx_huge_tree-1.2.0-py3-none-any.whl
| Download URL | python_docx_huge_tree-1.2.0-py3-none-any.whl |
|---|---|
| Size | 253.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
225e32467da00a1a080b9b4ba9493ada074af2344cb6c09a05dec2c1599ae2da
|
|
BLAKE2b-256 checksum How to use checksums |
c3d13710f26a66048d8a3ecd5f3242329691174e72f632779eb3dfe2657f352c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|