Python package for migrating Molgenis EMX2 staging areas to a catalogue.
Project description
Installation
pip install molgenis_emx2_staging_migrator
How to use
Within your Python project import the class StagingMigrator and use it as a context manager
from molgenis_emx2_staging_migrator import StagingMigrator
username = 'username'
password = '...'
with StagingMigrator('https://example.molgeniscloud.org') as migrator:
migrator.signin(username, password)
# Retrieve sign-in information
print(migrator.status)
migrator.set_staging_area('TestStaging')
migrator.set_catalogue('catalogue')
migrator.migrate()
Development
## Build
```console
(venv) $ python -m build
(venv) $ pip install dist/molgenis_emx2_staging_migrator*.whl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for molgenis_emx2_staging-migrator-8.213.11.dev1692184266583.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d75457b7a29deb517b90a0fa73ea64da21f67545f49dea80664db30e161d05d7 |
|
MD5 | 3619542e225407edb03b42c7c7e2bbc8 |
|
BLAKE2b-256 | 5b8340c65a3790a8bef0c1dc624ce1ac3d02f7b7a13c7879a836fae7c2e3df81 |
Close
Hashes for molgenis_emx2_staging_migrator-8.213.11.dev1692184266583-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e775d2bf9af38b06464e55b698de20a1d5346f6636dbf0453c854f308b89ab4f |
|
MD5 | 4095669bd22646dac3065a4150a7d228 |
|
BLAKE2b-256 | 24543f8660bdd82ff4020ae13468e20a165a042b59821329455210d04dc37462 |