xlsx2html 0.6.2
pip install xlsx2html
Latest version
Released:
A simple export from xlsx format to html tables with keep cell formatting
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Apkawa
- Tags converter, xlsx, html
- Requires: Python <4, >=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
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
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Apkawa
- Tags converter, xlsx, html
- Requires: Python <4, >=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
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
Built Distribution
File details
Details for the file xlsx2html-0.6.2.tar.gz
.
File metadata
- Download URL: xlsx2html-0.6.2.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3be926dca7c3217eabe6b9e4e50447b1c65cd2a16a711e395f5e9a1ac18ce9e |
|
MD5 | 3e4f44ad035dd3e456be749fe7c2649f |
|
BLAKE2b-256 | c61b770c7c3d73b7dd0309f8aa640be19782f6762f03caa871edcb8c3fbd0ae6 |
File details
Details for the file xlsx2html-0.6.2-py2.py3-none-any.whl
.
File metadata
- Download URL: xlsx2html-0.6.2-py2.py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d10d6c18be2e563a9fe8aee5dcadb2140be38e1090db717ede1b8ff09648452a |
|
MD5 | 44a04f5dcb7034f763c58ec911c3986b |
|
BLAKE2b-256 | 0c26a43d76e5ffddb1c2d958915fec5d99552a80559e6403ee3f0dd3db28fdea |