Create, read, and update Microsoft Word .docx files (maintained fork of python-docx).
Project description
python-docx-nnayda
python-docx-nnayda is a maintained fork of python-docx — a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
Fork note: this package installs as
python-docx-nnaydabut the import name is unchanged (import docx), so it remains a drop-in replacement. It adds fork-specific features (footnotes, hyperlink creation, table styling) on top of upstream. Install only one ofpython-docxorpython-docx-nnaydainto an environment, not both.
Installation
pip install python-docx-nnayda
Example
>>> from docx import Document
>>> document = Document()
>>> document.add_paragraph("It was a dark and stormy night.")
<docx.text.paragraph.Paragraph object at 0x10f19e760>
>>> document.save("dark-and-stormy.docx")
>>> document = Document("dark-and-stormy.docx")
>>> document.paragraphs[0].text
'It was a dark and stormy night.'
Documentation
Documentation for this fork is published at https://nnayda.github.io/python-docx/. The upstream documentation also remains a useful reference at https://python-docx.readthedocs.org/en/latest/.
Contributing
See CONTRIBUTING.md and AGENTS.md for setup,
conventions, and the development workflow. This fork uses
Conventional Commits for PR titles and
squash-merges to main.
License
MIT — see LICENSE. This fork preserves the upstream license and authorship.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_docx_nnayda-1.2.1.tar.gz.
File metadata
- Download URL: python_docx_nnayda-1.2.1.tar.gz
- Upload date:
- Size: 5.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd1ade5662009e1a6e66f2c16b60844c5c138c594cf01d9eaf77e6cff2379a0b
|
|
| MD5 |
f7b039e3e089cd797e648df58985ca03
|
|
| BLAKE2b-256 |
807989ca45867f589292141f072d526e7f3ceda31eacca02cffae9ee8ec13a56
|
Provenance
The following attestation bundles were made for python_docx_nnayda-1.2.1.tar.gz:
Publisher:
release.yml on nnayda/python-docx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_docx_nnayda-1.2.1.tar.gz -
Subject digest:
dd1ade5662009e1a6e66f2c16b60844c5c138c594cf01d9eaf77e6cff2379a0b - Sigstore transparency entry: 1861600665
- Sigstore integration time:
-
Permalink:
nnayda/python-docx@7ba12914c02800296623ee86f20666401c577532 -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/nnayda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7ba12914c02800296623ee86f20666401c577532 -
Trigger Event:
release
-
Statement type:
File details
Details for the file python_docx_nnayda-1.2.1-py3-none-any.whl.
File metadata
- Download URL: python_docx_nnayda-1.2.1-py3-none-any.whl
- Upload date:
- Size: 269.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aee9a6e2df16c86c7c96a4eda7509fe7b91696519b12f07c51a143cf3521307
|
|
| MD5 |
4dba3fd97c6c872ad85fa03716c26022
|
|
| BLAKE2b-256 |
e388fbc68cfe117dbb112783c9412deb5efa519d20fed3d3336f918c1bd29ba5
|
Provenance
The following attestation bundles were made for python_docx_nnayda-1.2.1-py3-none-any.whl:
Publisher:
release.yml on nnayda/python-docx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_docx_nnayda-1.2.1-py3-none-any.whl -
Subject digest:
5aee9a6e2df16c86c7c96a4eda7509fe7b91696519b12f07c51a143cf3521307 - Sigstore transparency entry: 1861600819
- Sigstore integration time:
-
Permalink:
nnayda/python-docx@7ba12914c02800296623ee86f20666401c577532 -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/nnayda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7ba12914c02800296623ee86f20666401c577532 -
Trigger Event:
release
-
Statement type: