mosjin / flask-mobility

A Flask extension to simplify building mobile-friendly sites.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 request 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

About

A Flask extension to simplify building mobile-friendly sites.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%