Skip to main content

python-docx is a Python library for creating and updating Microsoft Word (.docx) files.

More information is available in the python-docx documentation.

Release History

0.4.0 (2014-03-01)

  • Advance from alpha to beta status.

  • Add pure-python image header parsing; drop Pillow dependency

0.3.0a5 (2014-01-10)

  • Hotfix: issue #4, Document.add_picture() fails on second and subsequent images.

0.3.0a4 (2014-01-07)

  • Complete Python 3 support, tested on Python 3.3

0.3.0a3 (2014-01-06)

  • Fix setup.py error on some Windows installs

0.3.0a1 (2014-01-05)

  • Full object-oriented rewrite

  • Feature-parity with prior version

  • text: add paragraph, run, text, bold, italic

  • table: add table, add row, add column

  • styles: specify style for paragraph, table

  • picture: add inline picture, auto-scaling

  • breaks: add page break

  • tests: full pytest and behave-based 2-layer test suite

0.3.0dev1 (2013-12-14)

  • Round-trip .docx file, preserving all parts and relationships

  • Load default “template” .docx on open with no filename

  • Open from stream and save to stream (file-like object)

  • Add paragraph at and of document

Metadata

Release files for python-docx 0.4.0

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 0.4.0
File Size Uploaded Provenance Actions
python-docx-0.4.0.tar.gz 4.8 MB Without provenance Details for python-docx-0.4.0.tar.gz

Release files / python-docx-0.4.0.tar.gz

Download URL python-docx-0.4.0.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
77b1fbeb16da84f4c9ce048e9c06a55fa569fff57610246eee3fd74182950101
BLAKE2b-256 checksum
How to use checksums
c15b8c3f53a3a692681527abe9c0c0ccde62f5f4f632ede1f5874e4b62ba7351
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-docx 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file No provenance

0.3.0dev1

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