Skip to content

rehandalal/flask-mobility

Repository files navigation

Flask Mobility

A Flask extension to simplify building mobile-friendly sites.

PyPI PyPI - Python Version

CircleCI Documentation

This extension detects whether a mobile site is requested and it modifies the Flask global g object accordingly.

Decorators are provided to make mobilizing views easier.

Documentation

Full documentation is available at: http://flask-mobility.readthedocs.org/en/latest/

Install

To install:

$ pip install Flask-Mobility

You can also install the development version:

$ pip install Flask-Mobility==dev

or:

$ git clone git://github.com/rehandalal/flask-mobility.git
$ mkvirtualenv flaskmobility
$ python setup.py develop
$ pip install -r requirements.txt

Test

To run tests from a tarball or git clone:

$ python setup.py test