Flask-Inliner
Flask-Inliner converts CSS <style> blocks to inline style attributes
Installation
Using pip
pip install flask-inliner
Manual installation
Download from https://github.com/Code-ReaQtor/flask-inliner/releases
python setup.py install
Example
from flask import Flask
from flask_inliner import Inliner
app = Flask(__name__)
Inliner(app)
@app.route('/')
def hello_world():
return '<html><head><style>h1 { color:#ffcc00; }</style></head><body><h1>Hello World!</h1></body></html>'
if __name__ == '__main__':
app.run()
Metadata
Release files for flask-inliner 1.0.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-inliner-1.0.0.zip | 2.5 kB | Without provenance | Details for flask-inliner-1.0.0.zip |
Release files / flask-inliner-1.0.0.zip
| Download URL | flask-inliner-1.0.0.zip |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98194cab318af0bb476abc1843eb77bcd1b3859a6e4ad96833b738f40dfd169c
|
|
BLAKE2b-256 checksum How to use checksums |
a1be897b4e421845ba0c8338ccbd6d349245ec2539400ccbcd031f8a37dc5cc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flask-inliner 1.0.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.