Metadata-Version: 2.1
Name: sqlalchemy-diff
Version: 0.1.5
Summary: Compare two database schemas using sqlalchemy.
Home-page: https://github.com/gianchub/sqlalchemy-diff
Author: student.com
Author-email: wearehiring@student.com
License: Apache License, Version 2.0
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Operating System :: POSIX
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Intended Audience :: Developers
Requires-Dist: sqlalchemy-utils (>=0.32.4)
Provides-Extra: dev
Requires-Dist: mysql-connector-python-rf (==2.2.2) ; extra == 'dev'
Requires-Dist: pytest (==6.2.2) ; extra == 'dev'
Requires-Dist: pylint (==2.7.2) ; extra == 'dev'
Requires-Dist: flake8 (==3.8.4) ; extra == 'dev'
Requires-Dist: coverage (==5.5) ; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx (==1.4.1) ; extra == 'docs'

SQLAlchemy Diff
===============

.. pull-quote::

    Compare and generate a diff between two databases using SQLAlchemy's
    inspection API.


Documentation
-------------

See `<http://sqlalchemy-diff.readthedocs.org>`_.


Running tests
-------------

Tests are written with pytest. Makefile targets to invoke tests are also provided for convenience.

Test databases will be created, used during the tests and destroyed afterwards.

Example:

.. code-block:: shell

    $ # using default settings
    $ make test

    # or
    $ py.test test

    $ # overridding the database URI
    $ py.test test --test-db-url=mysql+mysqlconnector://root:password@localhost:3306/sqlalchemydiff

    # or
    $ make test ARGS="--test-db-url=mysql+mysqlconnector://root:password@localhost:3306/sqlalchemydiff"

    # providing other pytest args via Make
    $ make test ARGS="--lf -x -vv"


License
-------

Apache 2.0. See LICENSE for details.


