Flask-Pretty
Flask-Pretty is a Flask extension to output prettified HTML pages to ease the development process of HTML templates. However, HTML prettifying should only be used for development purposes only. For production purposes, HTML minifying should be used instead (for instance by using Flask-HTMLmin).
The underlying HTML prettifying process is provided by BeautifulSoup.
Installation
Install the extension with with pipenv (recommended):
$ pipenv install flask-pretty
Or with pip:
$ pip install flask-pretty
Usage
Using Flask-Pretty is really simple:
import Flask from flask_pretty import Prettify app = Flask(__name__) prettify = Prettify(app)
Documentation
The Sphinx-compiled documentation is available on ReadTheDocs.
License
The MIT License (MIT)
Copyright (c) 2018 Romain Clement
Release History
0.2.0 (2018-01-31)
Official support for Python 2.7
Improved README badges
Add HISTORY
0.1.0 (2018-01-31)
Initial release of Flask-Pretty.
Official support for Python 3.6 only.
Metadata
Release files for Flask-Pretty 0.2.0
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-Pretty-0.2.0.tar.gz | 8.5 kB | Without provenance | Details for Flask-Pretty-0.2.0.tar.gz |
Release files / Flask-Pretty-0.2.0.tar.gz
| Download URL | Flask-Pretty-0.2.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1907ddd8085e9b0b63774eb151f223ee3c30b316fb0b23c801fcd371c7abd6f8
|
|
BLAKE2b-256 checksum How to use checksums |
f3671fd23734eaf1d88203b0e81702071a9ec60067bc71a4264511785307ae1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Flask-Pretty 0.2.0
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.