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

Django custom management tool intended to perform data exports and migration of CheMBL database.

Project Description
chembl_migrate
======


.. image:: https://img.shields.io/pypi/v/chembl_migrate.svg
:target: https://pypi.python.org/pypi/chembl_migrate/
:alt: Latest Version

.. image:: https://img.shields.io/pypi/dm/chembl_migrate.svg
:target: https://pypi.python.org/pypi/chembl_migrate/
:alt: Downloads

.. image:: https://img.shields.io/pypi/pyversions/chembl_migrate.svg
:target: https://pypi.python.org/pypi/chembl_migrate/
:alt: Supported Python versions

.. image:: https://img.shields.io/pypi/status/chembl_migrate.svg
:target: https://pypi.python.org/pypi/chembl_migrate/
:alt: Development Status

.. image:: https://img.shields.io/pypi/l/chembl_migrate.svg
:target: https://pypi.python.org/pypi/chembl_migrate/
:alt: License

.. image:: https://badge.waffle.io/chembl/chembl_migrate.png?label=ready&title=Ready
:target: https://waffle.io/chembl/chembl_migrate
:alt: 'Stories in Ready'

This is chembl_migrate package developed at Chembl group, EMBL-EBI, Cambridge, UK.

This package provides custom Django management command 'migrate'.
For usage type `python manage.py migrate help`.
'migrate' copies data from one database to another.
Both databases must be described by the same Django model.
By default django model being migrated is 'chembl_migration_model' but this can be changed in settings to any other django model.
If target database doesn't have tables required by the model they will be created, despite status of 'managed' meta flag.
All data is copied in order that should avoid any integration errors.
Migration process is done in chunks of 1000 records but this number can be configured.
Each chunk is copied within a transaction.
When interrupted, the migration process can be rerun and it will detect which data has already been migrated and start migration from the point where it finished.
Release History

Release History

This version
History Node

0.8.4

History Node

0.8.3

History Node

0.6.0

History Node

0.5.9

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
chembl-migrate-0.8.4.tar.gz (15.1 kB) Copy SHA256 Checksum SHA256 Source Jan 11, 2017

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