Flask-Mux
Flask-Mux is a lightweight Flask extension that provides a routing system similar to that of Express.js. It basically wraps Flask’s url route registrations API to add more flexibility.
Installing
Install using pip:
$ pip install Flask-Mux
A Simple Example
from flask import Flask
from flask_mux import Mux, Router
app = Flask(__name__)
mux = Mux(app)
def home():
return 'home'
def about():
return 'about'
index_router = Router()
index_router.get('/', home)
index_router.get('/about', about)
mux.use('/', index_router)
User’s Guide
You’ll find the user guide and all documentation here
Links
Documentation: https://emr-flask-mux.readthedocs-hosted.com/en/latest/
PyPI Releases: https://pypi.org/project/Flask-Mux/
Source Code: https://github.com/ElMehdi19/flask-mux/
Issue Tracker: https://github.com/ElMehdi19/flask-mux/issues/
Metadata
Release files for Flask-Mux 0.0.3
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-Mux-0.0.3.tar.gz | 6.4 kB | Without provenance | Details for Flask-Mux-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Flask_Mux-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for Flask_Mux-0.0.3-py3-none-any.whl |
Total release size: 13.5 kB
Release files / Flask-Mux-0.0.3.tar.gz
| Download URL | Flask-Mux-0.0.3.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cde9a9a23cc12e8df7df1ee193caf59ecb311ae6fcb0b88c28080d9760c79c76
|
|
BLAKE2b-256 checksum How to use checksums |
116524e46f3b33b6b5c92b00250beadb767538dc351bdb718e24e7d5d04f7e95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / Flask_Mux-0.0.3-py3-none-any.whl
| Download URL | Flask_Mux-0.0.3-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b69bb31da1923ca2d2e6f0982bad3be254c9d6af45edb5865e26afb90a14d32
|
|
BLAKE2b-256 checksum How to use checksums |
5a0629b8ed1a17e8e972c80172638f8c2cfc8ba27ec7bb045a061bed5eb2336a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for Flask-Mux 0.0.3
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.