Skip to main content

python-docx

This package is a fork from the original python-docx. It includes feature requests that are yet to be merged in the original one. python-docx is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.

Installation

pip install python-docx-ml6

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-ml6 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-docx-ml6 1.0.2
File Size Uploaded
python-docx-ml6-1.0.2.tar.gz 5.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-docx-ml6 1.0.2
File Interpreter ABI Platform
python_docx_ml6-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 MB

Release files / python-docx-ml6-1.0.2.tar.gz

Download URL python-docx-ml6-1.0.2.tar.gz
Size 5.6 MB
Tags Source
SHA-256 checksum
How to use checksums
31d968776a5f937a341ae93fab477c35c0d047dbdfde01099a7580855d7bd099
BLAKE2b-256 checksum
How to use checksums
b29bdf0e7cb205c820d2b43092495dce9a21628428ac6b2891b88486adc57f55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Release files / python_docx_ml6-1.0.2-py3-none-any.whl

Download URL python_docx_ml6-1.0.2-py3-none-any.whl
Size 242.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6031da64073323cf70f7a2b6766df56860c9c2ebfc3a948a66bbb771f90f1c74
BLAKE2b-256 checksum
How to use checksums
bd1556d15d570372d056767aa0df8e72a3ccf1f691411a189f47fd8d44f8fcee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page