Skip to main content

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

Project description


.. image::
:alt: Latest Version

.. image::
:alt: Downloads

.. image::
:alt: Supported Python versions

.. image::
:alt: Development Status

.. image::
:alt: License

.. image::
: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 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.

Project details

Download files

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

Files for chembl_migrate, version 0.8.4
Filename, size File type Python version Upload date Hashes
Filename, size chembl-migrate-0.8.4.tar.gz (15.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page