Skip to main content

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

Metadata

Release files for migrantpy 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for migrantpy 1.0.0
File Size Uploaded
migrantpy-1.0.0.tar.gz 7.3 kB Details

Built distribution (wheel)

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

Total release size: 18.6 kB

Release files / migrantpy-1.0.0.tar.gz

Download URL migrantpy-1.0.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
355f745ab30228ddef48baf5a8d247b29268a6c9eb6f40625e2cd6ba40f9d348
BLAKE2b-256 checksum
How to use checksums
1c8d51b4c4d9d04f33ee84536b51badc23b96c99315d2ff7615b446250996430
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / migrantpy-1.0.0-py2.py3-none-any.whl

Download URL migrantpy-1.0.0-py2.py3-none-any.whl
Size 11.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
487710df917951a1ed29ff842bee0c15dd585999d92ac65eebf45c964c2ddf27
BLAKE2b-256 checksum
How to use checksums
81c96fa11dea55475ed68fcc59efb46818d99e2a092bb5a6fc52df53aa72e4c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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