Skip to main content

Direct-Flask

Use responses for Flask directly

Installation

From PyPI

pip3 install dflask

From GitHub

pip3 install git+https://github.com/donno2048/Direct-Flask

Usage

from dflask import DirectFlask, Response
app = DirectFlask(__name__)
app.add_response("/", Response("<html><head><link href='/style.css' rel='stylesheet'></head><body></body></html>"))
app.add_response("/style.css", "body{background-color: red;}").run()

Metadata

Release files for dflask 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dflask 1.0.2
File Size Uploaded Provenance Actions
dflask-1.0.2.tar.gz 2.4 kB Without provenance Details for dflask-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dflask 1.0.2
File Interpreter ABI Platform Actions
dflask-1.0.2-py3-none-any.whl Python 3 none any Details for dflask-1.0.2-py3-none-any.whl

Total release size: 5.1 kB

Release files / dflask-1.0.2.tar.gz

Download URL dflask-1.0.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
30be09d6d5af07e885397f36f2530988ae127ff33c25eaac693ad2b2cb5b7907
BLAKE2b-256 checksum
How to use checksums
e617711517c8d1a240722f05122f142ebb1cf09cdee54a52e6efa37fcc401898
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / dflask-1.0.2-py3-none-any.whl

Download URL dflask-1.0.2-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b50c423b878853bed2cbc3e53bb173d8aaa8fd5e5cf0afa5dac6388363d32865
BLAKE2b-256 checksum
How to use checksums
f7328382553374ae62e104ecd4f7cd62a7498d0773f02a5e7d4af00e847ed380
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Security for dflask 1.0.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page