A generic api for oauth2
Project description
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
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
adactivexlsx2html-0.0.31.tar.gz
(16.0 kB
view details)
Built Distribution
File details
Details for the file adactivexlsx2html-0.0.31.tar.gz
.
File metadata
- Download URL: adactivexlsx2html-0.0.31.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 946339ee8be71cde683b73d56ca22982f95ec7e960222fd7500af9218262d4bf |
|
MD5 | 65d428cbee5685b2b7d3a51d5457231c |
|
BLAKE2b-256 | 5900dc4f3854f1afd3b7b009e8905c6b449765cbd195bdb695502ec24a166943 |
File details
Details for the file adactivexlsx2html-0.0.31-py2.py3-none-any.whl
.
File metadata
- Download URL: adactivexlsx2html-0.0.31-py2.py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3984054f9c7b52b433835d29570adf4c511669fdaa43d72ee92bbb50bb36184 |
|
MD5 | 32ba5e1170c9550c1b7fce6c419dbe4f |
|
BLAKE2b-256 | 8b88c2d9a36281b1f6994cf307ae54b14f121d8aea86dd9dee4ed2f484723b98 |