Skip to main content

Execute PostGreSQL migrations

Project description


Build Status codecov

A CLI tool to apply PostgreSQL migrations to a database.


You're looking for a tool to take care of Database migrations in your project. For Django projects, that tool used to be South, and then it became Django itself.

But you're looking for a tool that just focuses on running existing SQL migrations and keeping track of what was applied, through time. That's django-north.

You're looking for that, but without Django. You're looking for septentrion. Congratulations, you've found it.


This project would only work for PostgreSQL databases 9.6+. We aim to be compatible with Python 2.7+ and Python 3+ (but Python 2 will not stay for long).


At the moment, there are no proper releases on PyPI. As a consequence, you'll have to clone this repository locally and install it via:

pip install git+

What does it do?

Project is still pre-alpha, moving fast and breaking things. Best way to know what it does, is to call:

septentrion --help

Launch a postgres DB with Docker

$ docker run --rm -it -p 5432:5432 -e POSTGRES_PASSWORD=password postgres


septentrion is published under the terms of the Apache Software License.


Nothing is done so far, but we have some guidelines we'd like to follow, here

Running the tests

You must have access to a postgres database, then:

PGPASSWORD=password PGHOST= PGUSER=postgres PGPORT=5432 tox

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 septentrion, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size septentrion-0.1.3-py2.py3-none-any.whl (15.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size septentrion-0.1.3.tar.gz (12.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page