adactivexlsx2html
A simple export from xlsx format to html tables with keep cell formatting
ported from xlsx2html with some changes, like bulma on css, and adding carousel on the rows.
Install
pip install adactivexlsx2html
Usage
Simple usage
from adactivexlsx2html import xlsx2html
out_stream = xlsx2html('path/to/example.xlsx')
out_stream.seek(0)
print(out_stream.read())
or pass filepath
from adactivexlsx2html import xlsx2html
xlsx2html('path/to/example.xlsx', 'path/to/output.html')
or use file like objects
import io
from adactivexlsx2html 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 adactivexlsx2html path/to/example.xlsx path/to/output.html
Metadata
Release files for adactivexlsx2html 0.0.31
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 | |
|---|---|---|---|---|
| adactivexlsx2html-0.0.31.tar.gz | 16.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adactivexlsx2html-0.0.31-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 33.7 kB
Release files / adactivexlsx2html-0.0.31.tar.gz
| Download URL | adactivexlsx2html-0.0.31.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
946339ee8be71cde683b73d56ca22982f95ec7e960222fd7500af9218262d4bf
|
|
BLAKE2b-256 checksum How to use checksums |
5900dc4f3854f1afd3b7b009e8905c6b449765cbd195bdb695502ec24a166943
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
|
Release files / adactivexlsx2html-0.0.31-py2.py3-none-any.whl
| Download URL | adactivexlsx2html-0.0.31-py2.py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e3984054f9c7b52b433835d29570adf4c511669fdaa43d72ee92bbb50bb36184
|
|
BLAKE2b-256 checksum How to use checksums |
8b88c2d9a36281b1f6994cf307ae54b14f121d8aea86dd9dee4ed2f484723b98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
|
Security for adactivexlsx2html 0.0.31
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.