Skip to main content

Create and update Microsoft Word .docx files.

Project description

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.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

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

python-docx-0.3.0a2.tar.gz (1.3 MB view details)

Uploaded Source

File details

Details for the file python-docx-0.3.0a2.tar.gz.

File metadata

  • Download URL: python-docx-0.3.0a2.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-docx-0.3.0a2.tar.gz
Algorithm Hash digest
SHA256 7acc0ac0f72e9562b48c1276dc16e3d8589d68a60d0f703803b3a211f6d99745
MD5 e00803f0b0663ca85ef277a7fd0d7216
BLAKE2b-256 7bdf4f3aa7eaa018dc9f77ae3032fea47ca8a3c3f5078d7348318132ad83a81a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page