Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

adactivexlsx2html

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adactivexlsx2html

A generic api for oauth2

  • 0.0.31
  • PyPI
  • Socket score

Maintainers
1

PyPi Build Status Codecov Requirements Status PyUP Python versions 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

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc