Skip to main content

Septentrion

Build Status codecov

A CLI tool to apply PostgreSQL migrations to a database.

Overview

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.

Requirements

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).

Install

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+https://github.com/peopledoc/septentrion.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

Licensing

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

Testing

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=127.0.0.1 PGUSER=postgres PGPORT=5432 tox

Metadata

Release files for septentrion 0.1.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 septentrion 0.1.1
File Size Uploaded Provenance Actions
septentrion-0.1.1.tar.gz 11.3 kB Without provenance Details for septentrion-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for septentrion 0.1.1
File Interpreter ABI Platform Actions
septentrion-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for septentrion-0.1.1-py2.py3-none-any.whl

Total release size: 26.3 kB

Release files / septentrion-0.1.1.tar.gz

Download URL septentrion-0.1.1.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8c21df1b442701ff25a466acbfd33ba3e57a18f90c03fcccd3c4940c4c5dda5f
BLAKE2b-256 checksum
How to use checksums
3688da40067ca84a6297b3dd49f2589687cc56848741b00f1ae7b1e7025a73dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.2 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / septentrion-0.1.1-py2.py3-none-any.whl

Download URL septentrion-0.1.1-py2.py3-none-any.whl
Size 15.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f8f8d303046c28022c766204e7493fd468ae5817e6f990ce49fb99eb60521b13
BLAKE2b-256 checksum
How to use checksums
1f5ed7bf1706bbe07ec0c3d87fc0f99374c3b8ec2f6048a74915896acd0fda07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.2 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Security for septentrion 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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