Skip to main content

A demo app for Morepath with record batching

Project description

Morepath Batching Demo


This is a demo app for Morepath that illustrates batching, i.e., presenting a large data set by partitioning it in smaller batches. It also showcases how to use Jinja2 templates in a Morepath project.

More information on this app is available on Martjin Faassen’ blog.

Getting started

To get started with this demo right away, you can install it and run it in a newly created virtual environment:

$ virtualenv env
$ ./env/bin/pip install morepath_batching
$ ./env/bin/morepath_batching

You can now access the app at http://localhost:5000.

Installation from sources

You can grab the sources from GitHub and set them up in a fresh virtual environment:

$ git clone
$ cd morepath_batching
$ virtualenv env
$ ./env/bin/pip install -e '.[test]'

You’ll then be able to start the app:

$ ./env/bin/morepath_batching

And to run the test suite:

$ ./env/bin/py.test -v


0.1 (2016-07-06)

  • Initial public release.

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
morepath_batching-0.1.tar.gz (5.4 kB) Copy SHA256 hash SHA256 Source None

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