Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Add pypagedlist support for Flask

Project description

Flask-PagedList bundles features from pypagedlist into a blueprint named ‘PagedList’.


Flask-PagedList can be installed using pip from PyPI. virtualenv is highly recommended:

pip install -U flask-pagedlist

For development, instead, clone the github repository, and use:

python develop  # Or, pip install -e .

Example Project





Here is a simple description about how to run the demo project:

# 1. Clone this git repo in order to get the example
git clone
cd flask-pagedlist

# 2. Install flask-pagedlist
pip install -U flask-pagedlist

# 3. Install dependencies for the example
pip install -U -r example-requirements.txt

# 4. Start the example project


Basic usage

Here is an example:

from flask_pagedlist import PagedList


Static resources

pagedlist_static_for is recommended for requiring static resources for Flask-PagedList in templates:

def pagedlist_static_for(filename, use_minified=None):
    """Resource finding function, also available in templates.

    :param filename: File to find a URL for.
    :param use_minified': If set to ``True``/``False``, use/don't use
                          minified. If ``None``, use the default setting
                          from ``PAGEDLIST_USE_MINIFIED``.
    :return: A URL.




Project details

Download files

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

Files for Flask-PagedList, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size Flask_PagedList-0.2.1-py2.py3-none-any.whl (10.1 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size (436.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page