Skip to main content

Flask-Menu is a Flask extension that adds support for generating menus.

Project description

https://travis-ci.org/inveniosoftware/flask-menu.png?branch=master https://coveralls.io/repos/inveniosoftware/flask-menu/badge.png?branch=master https://pypip.in/v/Flask-Menu/badge.png https://pypip.in/d/Flask-Menu/badge.png

About

Flask-Menu is a Flask extension that adds support for generating menus.

Installation

Flask-Menu is on PyPI so all you need is:

pip install Flask-Menu

Documentation

Documentation is readable at http://flask-menu.readthedocs.org or can be build using Sphinx:

git submodule init
git submodule update
pip install Sphinx
python setup.py build_sphinx

Testing

Running the test suite is as simple as:

python setup.py test

or, to also show code coverage:

./run-tests.sh

Changes

Version 0.5.0 (released 2015-10-30)

  • Drops support for Python 2.6.

  • Adds new property to MenuEntryMixin which allows the user to retrieve the current active item from the MenuEntryMixin’s tree. (#43)

  • Modifies project structure to be in line with other newer Invenio project packages. This includes renaming files to match with files in other projects, revising structures of certain files and adding more tools for testing. (#42)

  • Fixes incompatibility with pytest>=2.8.0 which removed the method consider_setuptools_entrypoints(). (#41)

  • Updates to the new standard greeting phrase

Version 0.4.0 (released 2015-07-23)

  • Flask-Classy support and automatic detection of parameters for url_for. (#33)

  • Improves how the default active state of items is determined. (#32)

  • Adds .dockerignore excluding among others Python cache files. This solves a problem when using both tox and docker to run the test suite on the same host. (#29)

Version 0.3.0 (released 2015-03-17)

  • New method has_active_child(recursive=True) in MenuEntryMixin. (#25)

  • Fixed documentation of blueprint example. (#21)

  • Configuration for Docker and demo app. (#22 #29)

  • Fixed template example and added code block types. (#14)

Version 0.2.0 (released 2014-11-04)

  • The Flask-Menu extension is now released under more permissive Revised BSD License. (#12)

  • New support for additional keyword arguments stored as MenuItem attributes. (#19)

  • Richer quick-start usage example. (#16)

  • Support for Python 3.4. (#6)

  • Documentation improvements. (#3)

Version 0.1.0 (released 2014-06-27)

  • Initial public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

Flask-Menu-0.5.1.tar.gz (28.3 kB view details)

Uploaded Source

Flask-Menu-0.5.0.tar.gz (22.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

Flask_Menu-0.5.1-py2-none-any.whl (11.4 kB view details)

Uploaded Python 2

Flask_Menu-0.5.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file Flask-Menu-0.5.1.tar.gz.

File metadata

  • Download URL: Flask-Menu-0.5.1.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Flask-Menu-0.5.1.tar.gz
Algorithm Hash digest
SHA256 b01027cb3ee697485bdf94fb0db3bd6b7424b32ebaacc178d2691374c9bdd862
MD5 b59abcf41737361602a69241182fbaaf
BLAKE2b-256 f9f31fa12a7fe6a851f624ab9a3cf7e7cb6d584eeee50b74dae395628d000944

See more details on using hashes here.

File details

Details for the file Flask-Menu-0.5.0.tar.gz.

File metadata

  • Download URL: Flask-Menu-0.5.0.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Flask-Menu-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4ca5911ab69f1c88177f4a52ae4c3ae8194840b0852af5f43a11b8169b5fbf40
MD5 1f580950e71691eaafc0cab0fd4d244a
BLAKE2b-256 0c409b04db98ebb65a9ff4ebfb4bfe1d43d7586cee9b68d93a3fce9c840e49a8

See more details on using hashes here.

File details

Details for the file Flask_Menu-0.5.1-py2-none-any.whl.

File metadata

File hashes

Hashes for Flask_Menu-0.5.1-py2-none-any.whl
Algorithm Hash digest
SHA256 cd1adb3492ae7b2796d9e2fd44c3b71f81df3da3794edf509ce05cd4c6fa2255
MD5 80b387e2b74e1ef7729354cae29c6e24
BLAKE2b-256 b20b0a33ef3908ff9daeebe9730545b3292751417551ca23ce491ccc0cc2a490

See more details on using hashes here.

File details

Details for the file Flask_Menu-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Flask_Menu-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5e2ac53ae17ef20cc4a0e1e383ed6c472def938bf0c33b1cea44f4c35378c8f
MD5 9be0d4fab1737b0176c3a434ea478f11
BLAKE2b-256 0829236dadafb8046412d0da99d49d3b4b991bbedc7632e59e9f7b571955a9ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page