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
Metadata
Release files for html4docx 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| html4docx-0.0.3.tar.gz | 3.0 kB | Without provenance | Details for html4docx-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| html4docx-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for html4docx-0.0.3-py3-none-any.whl |
Total release size: 8.8 kB
Release files / html4docx-0.0.3.tar.gz
| Download URL | html4docx-0.0.3.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3db0c0f03af1bca9563aa61fdcdb2ce82aafca3a7241584dab7b140622905e2
|
|
BLAKE2b-256 checksum How to use checksums |
97be30a3581abbd5a15fc41847172051e65a7f7f70cc0284c220270dfa1de491
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.9
|
Release files / html4docx-0.0.3-py3-none-any.whl
| Download URL | html4docx-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa34ca3ce134151e3f21b6025925d1919f424a1b39f80520b547ec0187d03249
|
|
BLAKE2b-256 checksum How to use checksums |
2763ef17acbaca821c1560ccaeda2874d6c33959321f48ff5bdf0657b902c767
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.9
|
Security for html4docx 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.