Skip to main content

Simple SQLite database migrations

Project description

# Migrantpy [![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)

Simple SQLite database migrations library for Python.

## Usage

The library can be used either as a command line utility:

`bash migrantpy migrate database.sqlite migrations_folder/ `

Or as a Python library:

`python import migrantpy migrantpy.migrate('database.sqlite', 'migrations_folder/') `

## Hacking You can create a full test database this way: `bash ./migrant.py migrate test.sqlite test_migrations `

Running the unit tests: `bash python3 -m unittest discover --locals `

Or install locally: `bash python setup.py install --user migrate -h `

## Download Install the library from the Python Package Index: `bash pip install migrantpy `

## License

Copyright 2016 Sascha Peilicke

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

migrantpy-1.0.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

migrantpy-1.0.0-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file migrantpy-1.0.0.tar.gz.

File metadata

  • Download URL: migrantpy-1.0.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for migrantpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 355f745ab30228ddef48baf5a8d247b29268a6c9eb6f40625e2cd6ba40f9d348
MD5 03eb13a9256a680618b72750f3f8c600
BLAKE2b-256 1c8d51b4c4d9d04f33ee84536b51badc23b96c99315d2ff7615b446250996430

See more details on using hashes here.

File details

Details for the file migrantpy-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for migrantpy-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 487710df917951a1ed29ff842bee0c15dd585999d92ac65eebf45c964c2ddf27
MD5 29441fb66e008d85a3499940266e6c3b
BLAKE2b-256 81c96fa11dea55475ed68fcc59efb46818d99e2a092bb5a6fc52df53aa72e4c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page