Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradmontgomery/word2html
a quick and dirty script to convert a Word (docx) document to html.
https://github.com/bradmontgomery/word2html
documents html pypandoc python word
Last synced: 13 days ago
JSON representation
a quick and dirty script to convert a Word (docx) document to html.
- Host: GitHub
- URL: https://github.com/bradmontgomery/word2html
- Owner: bradmontgomery
- License: mit
- Created: 2016-04-29T15:41:59.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-08-04T16:40:15.000Z (over 3 years ago)
- Last Synced: 2024-10-22T20:16:32.130Z (23 days ago)
- Topics: documents, html, pypandoc, python, word
- Language: Python
- Size: 7.81 KB
- Stars: 52
- Watchers: 5
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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.