Skip to main content

Convert jinja2-html to xlsx

Project description


Create xlsx-tables from html-tables


Given html table str

When render html to xlsx

Then result xlsx has table values

from jinja2xlsx import render_xlsx
from openpyxl import Workbook

html_str = """<!DOCTYPE html>
<html lang="en">
        <meta charset="UTF-8">
        <title>Simple table</title>

workbook: Workbook = render_xlsx(html_str)
assert tuple( == ((1, 2), (3, 4))

Publish to PyPI

poetry publish --build

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jinja2xlsx, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size jinja2xlsx-0.2.2-py3-none-any.whl (18.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size jinja2xlsx-0.2.2.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page