Skip to main content

Flask-Nav

Flask-NAV-Current is a maintained for of Flask-NAV which is apparently abandoned project. Flask-NAV-Current is supporting newest python versions without legacy/outdated/not supported python versions.

Flask-Nav is a Flask-Extension to ease the creation of navigational Elements in Applications. It provides means to Express the Navigational structure and different ways to render these, making it easy to custom tailor it for your application.

A motivating example:

from flask import Flask

from flask_nav import Nav
from flask_nav.elements import Label, Link, Navbar, Separator, Subgroup, View

nav = Nav()

# registers the "top" menubar
nav.register_element(
    "top",
    Navbar(
        View("Widgits, Inc.", "index"),
        View("Our Mission", "about"),
        Subgroup(
            "Products",
            View("Wg240-Series", "products", product="wg240"),
            View("Wg250-Series", "products", product="wg250"),
            Separator(),
            Label("Discontinued Products"),
            View("Wg10X", "products", product="wg10x"),
        ),
        Link("Tech Support", href="http://techsupport.invalid/widgits_inc"),
    ),
)


app = Flask(__name__)
# [...] (view definitions)

nav.init_app(app)

You can find a small, runnable example application inside the example folder. To run it, install Flask-Appconfig and execute:

$ flask --app=example dev

The full documentation can be found on PyPI.

Metadata

Release files for flask-nav-current 0.0.7

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-nav-current 0.0.7
File Size Uploaded Provenance Actions
flask-nav-current-0.0.7.tar.gz 8.3 kB Without provenance Details for flask-nav-current-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flask-nav-current 0.0.7
File Interpreter ABI Platform Actions
flask_nav_current-0.0.7-py3-none-any.whl Python 3 none any Details for flask_nav_current-0.0.7-py3-none-any.whl

Total release size: 15.5 kB

Release files / flask-nav-current-0.0.7.tar.gz

Download URL flask-nav-current-0.0.7.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4260011bb38d962f6119ad6c4c013849ff58bdfbc7ce15b9175629b9650e1dfa
BLAKE2b-256 checksum
How to use checksums
ba908b6b91c9f469ecce13f2e3f56ca35d56c1add7f951c28eed2604e55d4b7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / flask_nav_current-0.0.7-py3-none-any.whl

Download URL flask_nav_current-0.0.7-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9ff9727db0d179d204ae82478e238aada7f70697028ebf1f42cc2bf3c226776
BLAKE2b-256 checksum
How to use checksums
69803cb27a95d21377c4af6a5be6b8f1e7880d10ef43a63edfa9dbcfeb1d6638
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for flask-nav-current 0.0.7

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.

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files No provenance

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