Convert docx files to html
Project description
html4docx
A package to convert docx files to html with added features on top of mammoth library.
Developed by Paras Jain (c) 2023
Features
- Added support for all-types of images.
- Images like .emf are converted to .png type.
- Image dimensions present in the file are converted for html with preset same width and height.
Note To convert .emf image types to .png, linux env is necessary with inkscape installed.
Examples of How To Use
Convert docx to html
from html4docx.convert import docx_to_html
html = docx_to_html("your_docx_filepath_here", is_convert)
- your_docx_filepath_here: Your docx file path
- is_convert: is a boolean to convert .emf imgs to .png
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
html4docx-0.0.3.tar.gz
(3.0 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 html4docx-0.0.3.tar.gz.
File metadata
- Download URL: html4docx-0.0.3.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3db0c0f03af1bca9563aa61fdcdb2ce82aafca3a7241584dab7b140622905e2
|
|
| MD5 |
17772dff9825fe6bb6ff04270cf4bd4a
|
|
| BLAKE2b-256 |
97be30a3581abbd5a15fc41847172051e65a7f7f70cc0284c220270dfa1de491
|
File details
Details for the file html4docx-0.0.3-py3-none-any.whl.
File metadata
- Download URL: html4docx-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa34ca3ce134151e3f21b6025925d1919f424a1b39f80520b547ec0187d03249
|
|
| MD5 |
2ee8d7eb1b10102bb714d8d0acdcfece
|
|
| BLAKE2b-256 |
2763ef17acbaca821c1560ccaeda2874d6c33959321f48ff5bdf0657b902c767
|