xlsx2html
A simple export from xlsx format to html tables with keep cell formatting
Install
pip install xlsx2html
Usage
Simple usage
from xlsx2html import xlsx2html
out_stream = xlsx2html('path/to/example.xlsx')
out_stream.seek(0)
print(out_stream.read())
or pass filepath
from xlsx2html import xlsx2html
xlsx2html('path/to/example.xlsx', 'path/to/output.html')
or use file like objects
import io
from xlsx2html import xlsx2html
# must be binary mode
xlsx_file = open('path/to/example.xlsx', 'rb')
out_file = io.StringIO()
xlsx2html(xlsx_file, out_file, locale='en')
out_file.seek(0)
result_html = out_file.read()
or from shell
python -m xlsx2html path/to/example.xlsx path/to/output.html
Metadata
Release files for xlsx2html 0.6.4
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 | |
|---|---|---|---|---|
| xlsx2html-0.6.4.tar.gz | 19.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xlsx2html-0.6.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 37.4 kB
Release files / xlsx2html-0.6.4.tar.gz
| Download URL | xlsx2html-0.6.4.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
010cf660f9c00eb00cc58b6c7a7e7c3394d3a2fd16965cdfdda6b9ad004e947f
|
|
BLAKE2b-256 checksum How to use checksums |
5bda9fec19508ef8213c20b585cf2bb483df08a7b7e6b60c05380023937f9909
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / xlsx2html-0.6.4-py2.py3-none-any.whl
| Download URL | xlsx2html-0.6.4-py2.py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7df35d09ee77752143c37de00606cf816ea8887d490562a2c8efdc448c51af4b
|
|
BLAKE2b-256 checksum How to use checksums |
3713877688876510de733ac97537caa7bad382a34340931a2933c981f6a71a34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for xlsx2html 0.6.4
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.