A quick and dirty script to convert a Word (docx) document to html.
Project description
# Convert a Word Doc to html
To install, run:
pip install word2html
This will give you a command-line script, which you can run:
$ word2html /path/to/MyGloriousDoc.docx
This will give you a new file, /path/to/MyGloriousDoc.html, that’s (hopefully) decent-looking html.
## Note on tests & versions
This project has NO TESTS! (feel free to add some of you think it should).
This was last used with python 3.9 and the dependency versions listed in [requirements.txt](https://github.com/bradmontgomery/word2html/blob/master/requirements.txt)
## Note on Licenses
While this code is MIT-licensed, it uses boty pypandoc and pytidylib, both of which depend on other software that may not be MIT-licensed and must be installed for this to work.
[pytidylib](https://pypi.python.org/pypi/pytidylib/) is available under the MIT license, and [Tidy](http://tidy.sourceforge.net/#license) is available under an MIT-like license
[pypandoc](https://pypi.python.org/pypi/pypandoc/) is available under the MIT license, while [Pandoc](http://pandoc.org/) is released under the GPL.
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
Built Distribution
File details
Details for the file word2html-0.3.0.tar.gz
.
File metadata
- Download URL: word2html-0.3.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe1d504163af95a22c068ce17e7ff72cb5bac41dd22713d8e8c0a8df1cbff0a |
|
MD5 | b72befc3279a3d365a498e5d2daa2298 |
|
BLAKE2b-256 | 3c5fcd9893312e732d4444192057f1dfae58a846ce08e44a3c354715a4786866 |
File details
Details for the file word2html-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: word2html-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6db58b6bb4a1bd3a0d505346bae9f2d8db63e05dd043915caeeba33030c7c21c |
|
MD5 | c342d1bdcbcfb3cb2f69315523989bd4 |
|
BLAKE2b-256 | e34ab81a76326abee4adeaf6d50fdb04da2def59e5bdd2d2059f9613ff1967bb |