A simple docx manipulation utility library
Project description
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
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
wordocx-1.0.5.tar.gz
(4.4 kB
view details)
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 wordocx-1.0.5.tar.gz.
File metadata
- Download URL: wordocx-1.0.5.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae5266a8fd6d50efc5339c7397c466d338d4a8c0cbe8b5fef91e8b7dce6fac5a
|
|
| MD5 |
ab1783d05a9db216826319c94c6b02f5
|
|
| BLAKE2b-256 |
2f54a17e3147cfe60bfd12a03a1532d17bf59a4f2dc7028643ab5607dd704df0
|
File details
Details for the file wordocx-1.0.5-py3-none-any.whl.
File metadata
- Download URL: wordocx-1.0.5-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf955e4b34a2d44f34f5a1ad06b6806cae41568a4dd6825612abb0f93e1697c0
|
|
| MD5 |
cfb4956b49d1e7572e532ba6e91a992e
|
|
| BLAKE2b-256 |
a306fd122fad9536b30a52dd39a646d72f84ef6bff64d777933547afaa231656
|