wordocx
A simple DOCX manipulation utility library.
Installation
pip install wordocx
Usage
from wordocx import getComments, convertDocxToJson, convertJsonToDocx
# Example usage to get comments
comments = getComments('example.docx')
# Read the Word file and generate JSON
convertDocxToJson('example.docx', outputFile)
# Read the JSON file and generate DOCX
convertJsonToDocx('example.json', outputFile)
requirements.txt
python-docx>=0.8.10
docx2python>=1.27.0
jsonlib-python3>=1.6.1
Metadata
Release files for wordocx 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wordocx-1.0.5.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wordocx-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / wordocx-1.0.5.tar.gz
| Download URL | wordocx-1.0.5.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae5266a8fd6d50efc5339c7397c466d338d4a8c0cbe8b5fef91e8b7dce6fac5a
|
|
BLAKE2b-256 checksum How to use checksums |
2f54a17e3147cfe60bfd12a03a1532d17bf59a4f2dc7028643ab5607dd704df0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|
Release files / wordocx-1.0.5-py3-none-any.whl
| Download URL | wordocx-1.0.5-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf955e4b34a2d44f34f5a1ad06b6806cae41568a4dd6825612abb0f93e1697c0
|
|
BLAKE2b-256 checksum How to use checksums |
a306fd122fad9536b30a52dd39a646d72f84ef6bff64d777933547afaa231656
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|