python-docx
python-docx is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
This repository exists as a fork of the official repo as I needed features and quality of life improvements.
Key differences at a glance:
- Supporting multiple numbered lists within a document (1, 2)
- Supporting TOC updates within the package without the need to open the document manually (1, 2)
- Supporting floating images within documents (1)
- Supporting the ability to transform word documents into PDF's (1)
- Horizontal rules + paragraph bounding boxes / borders (1, 2)
- External hyperlinks (1)
- Internal hyperlinks (Linking to bookmarks) (1)
- Creating bookmarks (1)
- The ability to insert a customisable Table of Contents (ToC) (1)
Installation
pip install skelmis-docx
Example
>>> from skelmis.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.'
More information is available in the documentation
Metadata
Release files for skelmis-docx 2.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| skelmis_docx-2.6.0.tar.gz | 207.5 kB | Without provenance | Details for skelmis_docx-2.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skelmis_docx-2.6.0-py3-none-any.whl | Python 3 | none | any | Details for skelmis_docx-2.6.0-py3-none-any.whl |
Total release size: 467.8 kB
Release files / skelmis_docx-2.6.0.tar.gz
| Download URL | skelmis_docx-2.6.0.tar.gz |
|---|---|
| Size | 207.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f160d36b7d66834152219d7584b79bd2c9eddb4b88edc45d0cca9603254b692
|
|
BLAKE2b-256 checksum How to use checksums |
99ec0db2a5187ee191877f1accc2136e5e481308acf0bea6b8446b61f9ab10e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / skelmis_docx-2.6.0-py3-none-any.whl
| Download URL | skelmis_docx-2.6.0-py3-none-any.whl |
|---|---|
| Size | 260.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ad458607b1cec09c6ef2ef0491ad3a9ef4d073169cfbe977b94ccbe18121a10
|
|
BLAKE2b-256 checksum How to use checksums |
6e271ed736d2a08b5e52c4339c965d74c924a4f8f6da9a70b5f5dfeb4fc0f0c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for skelmis-docx 2.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.