Skip to main content

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

Project description

python-docx-ng

Python Packaging

python-docx-ng is a Python library for creating and updating Microsoft Word (.docx) files. It was originally designed and developed by scanny as python-docx. As he is not actively developing his repo and there are soo many useful pull requests, bringing together a more powerful tool. This repo should merge a lot of those things and create a more powerful version, hopefully bearing the original structure of scanny in mind.

A new documentation section will be build up soon based on Markdown in the https://github.com/toxicphreAK/python-docx-ng/blob/master/docs section. Examples can be found here: examples Older information is available in the python-docx Documentation.

Repo: https://github.com/toxicphreAK/python-docx-ng/blob/master/ Release: https://github.com/toxicphreAK/python-docx-ng/releases PyPi: https://pypi.org/project/python-docx-ng/

Installation

pip install python-docx-ng

Hint: The library is called docx in python scripts, so use imports like import docx.

Features

  • Extended Properties support python-docx #1206
  • Word 16 (Office 2019) Template (54a1269)
  • Faster & improved tables (#1)
  • SVG support (#4)
  • EMF support (85a30f1)
  • WMF support (9288ec9)
  • Font scaling (#6)
  • Outline level (#7) - shows outline in navigation (e.g. Word or PDF application - not affecting the document itself)
  • RGB color font highlighting (#14)
  • Hyperlink text (#16)
  • .docm file support (#19) - enables marco documents
  • Form fields & AltChunk support (#20)
  • Custom namespaces (#21)
  • Comment support (85a30f1)
  • Footnote support (85a30f1)
  • Shading support (9288ec9)
  • Performance improvements
    • Paragraph.text ([#3}(https://github.com/toxicphreAK/python-docx-ng/pull/3)
    • Cache for table cells (#8)
  • Fixes

Roadmap

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_ng-0.9.6.tar.gz (167.7 kB view details)

Uploaded Source

Built Distribution

python_docx_ng-0.9.6-py3-none-any.whl (216.7 kB view details)

Uploaded Python 3

File details

Details for the file python_docx_ng-0.9.6.tar.gz.

File metadata

  • Download URL: python_docx_ng-0.9.6.tar.gz
  • Upload date:
  • Size: 167.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for python_docx_ng-0.9.6.tar.gz
Algorithm Hash digest
SHA256 c004c0a22045a43eeceeed9ce86bbff113b8889d45c071888a18cbf3a25a013c
MD5 0c50b40241de95a752ca5f4875a1800d
BLAKE2b-256 7d44e3adc31af84c656a69f24d0e0d1cc4f41fafdda47421e8e701c244cea803

See more details on using hashes here.

File details

Details for the file python_docx_ng-0.9.6-py3-none-any.whl.

File metadata

File hashes

Hashes for python_docx_ng-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5aebed625de62be6460b1eb462b0fe5f622ce08d3e38cb7f76630a448a82ed8e
MD5 a57d9016533cb391aece0cafc2cce383
BLAKE2b-256 6140dbfcf86240c0c8bcfd7ff503f35ceec96b3a25329123f8de5582bb96d9e8

See more details on using hashes here.

Supported by

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