Flask-Genshi is an extension to Flask that allows you to easily use Genshi for templating. Easily switch between HTML5 and XHTML and have the mimetype set automatically for you.
from flask import Flask
from flaskext.genshi import Genshi, render_response
app = Flask(__name__)
genshi = Genshi(app)
@app.route('/')
def index():
title = 'Genshi + Flask, a match made in heaven!'
return render_response('index.html', dict(title=title))
You can install the development version from GitHub with easy_install Flask-Genshi==dev but you probably want the latest stable release:
sudo easy_install Flask-Genshi
Metadata
Release files for Flask-Genshi 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Flask-Genshi-0.5.1.tar.gz | 66.0 kB | Without provenance | Details for Flask-Genshi-0.5.1.tar.gz |
Release files / Flask-Genshi-0.5.1.tar.gz
| Download URL | Flask-Genshi-0.5.1.tar.gz |
|---|---|
| Size | 66.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5bb9d3fbfb062a5e22bdf0665b446250be03718332bc3aea6e70e0264a746d6
|
|
BLAKE2b-256 checksum How to use checksums |
0e469956b60f1c7dc5295c4b1f767dd8e5ff653b50c402adcb49f47e849c1013
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Flask-Genshi 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.