Skip to main content

dev-friendly generation of websites with jinja2 templates

Project description

jinja2html

Python 3.7 License: GPL v3

jinja2html takes your jinja2 templates and outputs HTML.

More importantly, it supports developer-friendly live reloading so that you can create that masterpiece of a static website without ripping your hair out.

Why jinja2html?

Blogging frameworks are a dime a dozen. But what if you don't want to write a blog? What if you wanted to make a static landing page, but without all that client-heavy nonsense like React/Vue/Angular/etc?

That's where jinja2html comes in.

No fancy bells and whistles, no bull$hit, just your bold artisitic vision + jinja2html.

Install

pip install jinja2html

This installs the CLI command, jinja2html, which can be used to generate html or start the local development server.

Usage

usage: jinja2html.py [-h] [--generate]

Renders jinja2 templates as html

optional arguments:
  -h, --help  show this help message and exit
  --generate  cause all jinja2 files in this directory to be rendered for prod

Examples

# run in dev mode, in the current directory
python jinja2html

# generate html files for use in prod
python jinja2html --generate

Project details


Download files

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

Source Distribution

jinja2html-0.0.2.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

jinja2html-0.0.2-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file jinja2html-0.0.2.tar.gz.

File metadata

  • Download URL: jinja2html-0.0.2.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.6

File hashes

Hashes for jinja2html-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2136212d411bb995e939c36cdc1e55dd5e9a68dafb8936cd67af093710fd04b8
MD5 0d90dda16a64d400d10f91ef3b576236
BLAKE2b-256 64762b73b0a5d9eb6bbe27cdc11cc1dc444bcc2d6160c8bd796837b53935a549

See more details on using hashes here.

File details

Details for the file jinja2html-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: jinja2html-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.6

File hashes

Hashes for jinja2html-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e4d97dcb0051cd76c1a6f9e10f14cb23b628de27dadd4dd49e5988fd34677ea
MD5 6b6489532b4edfc2ae06b9b7fba53359
BLAKE2b-256 2cc9fc3ee02998bcc9be97a4452714b474a9acaa589511846a0cc6562527f7b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page