Skip to main content

Morepath Batching Demo

Introduction

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 https://github.com/morepath/morepath_batching.git
$ 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

CHANGES

0.1 (2016-07-06)

  • Initial public release.

Release files for morepath-batching 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for morepath-batching 0.1
File Size Uploaded
morepath_batching-0.1.tar.gz 5.4 kB Details

Release files / morepath_batching-0.1.tar.gz

Download URL morepath_batching-0.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
08b7d182d6dadcf7ac305820b59c7d1ffb7074bc444094a7117a7e83ce49e357
BLAKE2b-256 checksum
How to use checksums
15d01b4455e0c53787d53a5c441961abb9f57e8b337bc50a2399960f872da34d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page