Skip to main content

Flask-Mux

Build Status Downloads Latest Version Supported Python versions License

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

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)

Source distribution for Flask-Mux 0.0.3
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)

Table of built distributions (wheels) for Flask-Mux 0.0.3
File Interpreter ABI Platform Actions
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.

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