Victor Stinner 1384e901b0 Add VerNum.__index__() for Python 3 support
On Python 3, some functions like range() don't try to call the __int__()
method to cast an object to integer, but try instead the __index__()
method.

Add an __index__() method to mimick correctly the int type on Python 3.

Change-Id: I8df116d80e201778714a59367600eaef644266ed
2015-07-28 12:56:52 +02:00
2015-02-22 14:03:55 +02:00
2015-01-29 15:19:02 -05:00
2013-07-11 16:54:46 -04:00
2010-07-08 19:16:22 +02:00
2013-07-12 10:53:37 -04:00
2013-07-11 16:54:46 -04:00
2015-04-17 09:48:17 +02:00
2014-04-09 17:32:52 +02:00
2014-02-26 15:04:54 -05:00
2014-04-09 17:32:52 +02:00
2014-04-09 17:32:52 +02:00
2013-07-11 16:54:46 -04:00
2015-07-05 06:44:03 -07:00

sqlalchemy-migrate

Fork from http://code.google.com/p/sqlalchemy-migrate/ to get it working with SQLAlchemy 0.8.

Inspired by Ruby on Rails' migrations, Migrate provides a way to deal with database schema changes in SQLAlchemy projects.

Migrate extends SQLAlchemy to have database changeset handling. It provides a database change repository mechanism which can be used from the command line as well as from inside python code.

Help

Sphinx documentation is available at the project page packages.python.org.

Users and developers can be found at #sqlalchemy-migrate on Freenode IRC network and at the public users mailing list migrate-users.

New releases and major changes are announced at the public announce mailing list migrate-announce and at the Python package index sqlalchemy-migrate.

Homepage is located at stackforge

You can also clone a current development version

Tests and Bugs

To run automated tests:

  • Copy test_db.cfg.tmpl to test_db.cfg
  • Edit test_db.cfg with database connection strings suitable for running tests. (Use empty databases.)
  • $ pip install -r requirements.txt -r test-requirements.txt
  • $ python setup.py develop
  • $ testr run --parallel

Please report any issues with sqlalchemy-migrate to the issue tracker at code.google.com issues

Description
Database schema migration for SQLAlchemy
Readme 2.3 MiB
Languages
Python 99.3%
Shell 0.7%