Metadata-Version: 2.0
Name: migrantpy
Version: 1.0.0
Summary: Simple SQLite database migrations
Home-page: http://github.com/saschpe/migrantpy
Author: Sascha Peilicke
Author-email: sascha@peilicke.de
License: Apache-2.0
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Pre-processors

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


