adactivexlsx2html-0.0.9
توضیحات
A generic api for oauth2
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | adactivexlsx2html-0.0.9 |
| نام | adactivexlsx2html |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | dev_adactive |
| ایمیل نویسنده | dev@adactive.asia |
| آدرس صفحه اصلی | https://github.com/adactiveasia/adactivexlsx2html |
| آدرس اینترنتی | https://pypi.org/project/adactivexlsx2html/ |
| مجوز | MIT |
[](https://pypi.python.org/pypi/xlsx2html)
[](https://travis-ci.org/Apkawa/xlsx2html)
[](https://codecov.io/gh/Apkawa/xlsx2html)
[](https://requires.io/github/Apkawa/xlsx2html/requirements/?branch=master)
[](https://pyup.io/repos/github/Apkawa/xlsx2html)
[]()
[](LICENSE)
# 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
```bash
pip install adactivexlsx2html
```
# Usage
Simple usage
```python
from adactivexlsx2html import xlsx2html
out_stream = xlsx2html('path/to/example.xlsx')
out_stream.seek(0)
print(out_stream.read())
```
or pass filepath
```python
from adactivexlsx2html import xlsx2html
xlsx2html('path/to/example.xlsx', 'path/to/output.html')
```
or use file like objects
```python
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
```bash
python -m adactivexlsx2html path/to/example.xlsx path/to/output.html
```
نیازمندی
| مقدار | نام |
|---|---|
| - | six |
| >=2.4.8 | openpyxl |
| >=2.3.4 | babel |
| >=20.4 | packaging |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6, <4 | Python |
نحوه نصب
نصب پکیج whl adactivexlsx2html-0.0.9:
pip install adactivexlsx2html-0.0.9.whl
نصب پکیج tar.gz adactivexlsx2html-0.0.9:
pip install adactivexlsx2html-0.0.9.tar.gz