gituser/production/: sqlalchemy-diff-0.1.5 metadata and description

Homepage Simple index

Compare two database schemas using sqlalchemy.

author student.com
author_email wearehiring@student.com
classifiers
  • Programming Language :: Python
  • Operating System :: POSIX
  • Operating System :: MacOS :: MacOS X
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.6
  • Programming Language :: Python :: 3.7
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Topic :: Internet
  • Topic :: Software Development :: Libraries :: Python Modules
  • Intended Audience :: Developers
license Apache License, Version 2.0
provides_extras docs
requires_dist
  • sqlalchemy-utils (>=0.32.4)
  • mysql-connector-python-rf (==2.2.2) ; extra == 'dev'
  • pytest (==6.2.2) ; extra == 'dev'
  • pylint (==2.7.2) ; extra == 'dev'
  • flake8 (==3.8.4) ; extra == 'dev'
  • coverage (==5.5) ; extra == 'dev'
  • sphinx (==1.4.1) ; extra == 'docs'
File Tox results History
sqlalchemy_diff-0.1.5-py3-none-any.whl
Size
7 KB
Type
Python Wheel
Python
3

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:

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