python-docx-ng is a Python library for creating and updating Microsoft Word (.docx) files.
Project description
python-docx-ng
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.
More information is available in the python-docx-ng Documentation.
Features
- Word 16 (Office 2019) Template
- Faster & improved tables (#1)
- SVG support (#4)
- 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)
- Performance improvements
- Paragraph.text (#3)
- Cache for table cells (#8)
- Fixes
- add_picture (#10) - fix next_id to support multiple pictures
Heading 1
key error due to style capitalization (e.g. in LibreOffice) (#12)- Fix XPath for sectPr in document (#15)
- Reproducible documents (#17) - same binary output with same data
Roadmap
- Document all functionallities building a new sample document with all (most) features included
- Setup new docs
- Add missing tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python_docx_ng-0.9.2.tar.gz
.
File metadata
- Download URL: python_docx_ng-0.9.2.tar.gz
- Upload date:
- Size: 142.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.15.0-53-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d0173861dace8c283d2b7b83a9b9cabfa78f1bd477e1ec701c837812c12f2d8 |
|
MD5 | 7bf09b8424eafb709233e3a43eb852b0 |
|
BLAKE2b-256 | 296167ec434756d07c6236df5d6efd15421dd7ec77f94b6ed8baf37bb8857b2d |
File details
Details for the file python_docx_ng-0.9.2-py3-none-any.whl
.
File metadata
- Download URL: python_docx_ng-0.9.2-py3-none-any.whl
- Upload date:
- Size: 182.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.15.0-53-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e214dbf4148699b0121d4dbde8aae4f0f01a310b322bfe3ee8a7f640ebc61746 |
|
MD5 | 8475ad22002182fb7703c43df938eb33 |
|
BLAKE2b-256 | a61a5fcb049ec39514608ed455b4b36f55ecb481e4562a7b2fea2d05c0342483 |