Metadata-Version: 2.1
Name: migrant
Version: 1.5.0
Summary: Database Migration Engine
Author: Shoobx, Inc.
Author-email: dev@shoobx.com
License: MIT
Keywords: migration version database
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Provides-Extra: test
License-File: LICENSE

=======
Migrant
=======

.. image:: https://travis-ci.org/Shoobx/migrant.png?branch=master
   :target: https://travis-ci.org/Shoobx/migrant

.. image:: https://coveralls.io/repos/github/Shoobx/migrant/badge.svg?branch=master
   :target: https://coveralls.io/github/Shoobx/migrant?branch=master

.. image:: https://img.shields.io/pypi/v/migrant.svg
    :target: https://pypi.python.org/pypi/migrant

.. image:: https://img.shields.io/pypi/pyversions/migrant.svg
    :target: https://pypi.python.org/pypi/migrant/

.. image:: https://api.codeclimate.com/v1/badges/08342b65bdf96b761dcd/maintainability
   :target: https://codeclimate.com/github/Shoobx/migrant/maintainability
   :alt: Maintainability

Migrant is a database schema version management framework

Features include:

  * backend agnostic core
  * explicit migration script ordering
  * support for downgrading
  * support for out-of-order migrations
  * support for migrating multiple homogenuous databases


Development
-----------

To set up development environment, use `pipenv`::

    pipenv install --dev

To run tests, use `pytest`::

    pytest

To run tests under all supported environments, use `tox`::

    tox --skip-missing-interpreters

To check for typing errors, use `mypy`::

    mypy src


CHANGELOG
=========

1.5.0 (2023-01-24)
------------------

- License under MIT


1.4.0 (2020-04-28)
------------------

- Ability to skip database from migration, when it not available.

- API change: to support parallel processing Backend class grew connection
  management methods, that needs to be implemented in plugins.

- Type annotations added

- Support migration of multiple databases in parallel (see `--parallel`
  command line argument for  command)

- Add support for Python-3.8

- Drop support for Python-2.7

- Modernize development environment with pipenv


1.3.1 (2019-03-01)
------------------

- Updated the script template to make it lint friendly.


1.3.0 (2018-07-11)
------------------

- Suppport for Python 3.6 and 3.7. Dropped Python 3.5.

- Fixed compatibility to not use `future`, since it imported `ConfigParser` as
  `configparser` in Python 2.7. Instead the official `configparser` backport
  is used.


1.2.1 (2018-02-06)
------------------

- Bugfix: proper error when `cmd` argument missing in Python 3


1.2.0 (2018-02-06)
------------------

- Python 3 compatibility.


1.1.1 (2017-05-23)
------------------

- Update README.rst badges.


1.1.0 (2017-05-23)
------------------

- First public release using all public tools.


1.0.0 (2017-05-16)
------------------

- First packaged version.
