Python REST Client Login, JWT Auth, and Pagination of result sets for any PostgREST server serving a PostgreSQL database
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

PostgREST Python Client

This repository provides a generic python REST client for any PostgREST server with a PostgreSQL database behind it.

This client implements the following features:

  • Login
  • JWT Auth
  • Pagination of result sets based on Content-Range header

PostgREST installation and configuration is beyond the scope of this document.

See for more information.

Installation and configuration

  1. Clone this repository

     git clone
  2. Install requirements

     pip install -r requirements.txt
  3. Copy to

  4. Edit credentials and urls in to suit

  5. Save

  6. Run


The example above uses python 3.5. You may have to edit the source to accommodate python versions < 3.5. For instance:

from __future__ import print_function

david watson