Skip to main content
https://travis-ci.org/python-openxml/python-docx.svg?branch=master

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.7.6 (2014-12-14)

  • Add feature #69: Table.alignment

  • Add feature #29: Document.core_properties

0.7.5 (2014-11-29)

  • Add feature #65: _Cell.merge()

0.7.4 (2014-07-18)

  • Add feature #45: _Cell.add_table()

  • Add feature #76: _Cell.add_paragraph()

  • Add _Cell.tables property (read-only)

0.7.3 (2014-07-14)

  • Add Table.autofit

  • Add feature #46: _Cell.width

0.7.2 (2014-07-13)

  • Fix: Word does not interpret <w:cr/> as line feed

0.7.1 (2014-07-11)

  • Add feature #14: Run.add_picture()

0.7.0 (2014-06-27)

  • Add feature #68: Paragraph.insert_paragraph_before()

  • Add feature #51: Paragraph.alignment (read/write)

  • Add feature #61: Paragraph.text setter

  • Add feature #58: Run.add_tab()

  • Add feature #70: Run.clear()

  • Add feature #60: Run.text setter

  • Add feature #39: Run.text and Paragraph.text interpret ‘n’ and ‘t’ chars

0.6.0 (2014-06-22)

  • Add feature #15: section page size

  • Add feature #66: add section

  • Add page margins and page orientation properties on Section

  • Major refactoring of oxml layer

0.5.3 (2014-05-10)

  • Add feature #19: Run.underline property

0.5.2 (2014-05-06)

  • Add feature #17: character style

0.5.1 (2014-04-02)

  • Fix issue #23, Document.add_picture() raises ValueError when document contains VML drawing.

0.5.0 (2014-03-02)

  • Add 20 tri-state properties on Run, including all-caps, double-strike, hidden, shadow, small-caps, and 15 others.

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

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.7.6.tar.gz (4.9 MB view details)

Uploaded Source

File details

Details for the file python-docx-0.7.6.tar.gz.

File metadata

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

File hashes

Hashes for python-docx-0.7.6.tar.gz
Algorithm Hash digest
SHA256 f8e022152eee9a013d9d04080d8d325ede852b8fc68e586f592089d8ce02fba6
MD5 0d6376c888c598f59924e6f78d35898e
BLAKE2b-256 1f8a989fa96656139d77c34b494ea69f8714d6ba4f65505857433749aa90e8b8

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.0

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

0.8.11

1 file

0.8.10

1 file

0.8.9

1 file

0.8.8

1 file

0.8.7

1 file

0.8.6

1 file

0.8.5

1 file

0.8.4

1 file

0.8.3

1 file

0.8.2

1 file

0.8.1

1 file

0.8.0

1 file

This release

0.7.6 This release

1 file

0.7.5

1 file

0.7.4

1 file

0.7.3

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.0

1 file

0.5.3

1 file

0.5.2

1 file

0.5.1

1 file

0.5.0

1 file

0.4.0

1 file

0.3.0dev1

Supported by

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