septentrion 0.1.0
pip install septentrion==0.1.0
Released:
Execute PostGreSQL migrations
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache Software License)
- Author: peopledoc
- Tags migrations, postgresql
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
Project description
# Septentrion
[](https://travis-ci.org/peopledoc/septentrion) [](https://codecov.io/gh/peopledoc/septentrion)
> 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](https://bitbucket.org/andrewgodwin/south/src), 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](https://github.com/peopledoc/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:
`sh 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:
`sh septentrion --help `
## Launch a postgres DB with Docker
`console $ 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](tests/README.md)
### Running the tests
You must have access to a postgres database, then:
`bash PGPASSWORD=password PGHOST=127.0.0.1 PGUSER=postgres PGPORT=5432 tox `
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache Software License)
- Author: peopledoc
- Tags migrations, postgresql
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file septentrion-0.1.0.tar.gz
.
File metadata
- Download URL: septentrion-0.1.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3db41bc1706e2b931531305b66d9b863ee6c5225cb5badee52b29caed761b742 |
|
MD5 | 84b2e1d1f8b652c27fad72bb97706bd9 |
|
BLAKE2b-256 | 9a58ac7e8d8ada50db0774a40431d36845e57f5352d5533caf16ba183291b340 |
File details
Details for the file septentrion-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: septentrion-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77a8af48a5a679eb0fa6f29393c4453a9647eafd7051665e9694bc7c5f587629 |
|
MD5 | d853b140993de7896d0b8e5ac7cd588d |
|
BLAKE2b-256 | f9d0560c031cbc42670bc0840b6e73ab20d6c36a68ceccca78c2e3dcfccbada2 |