Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Pymigrate is a tool for you to use python scripts or whatever self runnable scripts as your migration sripts for your data and systme.

Project Description


Use pip:

pip install pymigrate

Use easy_install:

easy_install pymigrate


Migrate scripts should be in one folder and with a prefix in name as index. The index is the order of execution of the scripts. eg:


Then, run the migrate scripts by:


After migration is done, we can show the trace by:

pymigrate -t MIGRATE_FOLDER

When you have new change to apply to the system, just add more scripts into the MIGRATE_FOLDER, and use index for the execution order. If you just clear the system(like drop the database and recreate) and want to re-run the migrate sequence, you need clear the trace:

pymigrate -c MIGRATE_FOLDER
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pymigrate-0.1.tar.gz (2.1 kB) Copy SHA256 Checksum SHA256 Source Apr 24, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting