Skip to main content

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


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

File details

Details for the file molgenis_emx2_staging-migrator-8.213.11.dev1692184266583.tar.gz.

File metadata

File hashes

Hashes for molgenis_emx2_staging-migrator-8.213.11.dev1692184266583.tar.gz
Algorithm Hash digest
SHA256 d75457b7a29deb517b90a0fa73ea64da21f67545f49dea80664db30e161d05d7
MD5 3619542e225407edb03b42c7c7e2bbc8
BLAKE2b-256 5b8340c65a3790a8bef0c1dc624ce1ac3d02f7b7a13c7879a836fae7c2e3df81

See more details on using hashes here.

File details

Details for the file molgenis_emx2_staging_migrator-8.213.11.dev1692184266583-py3-none-any.whl.

File metadata

File hashes

Hashes for molgenis_emx2_staging_migrator-8.213.11.dev1692184266583-py3-none-any.whl
Algorithm Hash digest
SHA256 e775d2bf9af38b06464e55b698de20a1d5346f6636dbf0453c854f308b89ab4f
MD5 4095669bd22646dac3065a4150a7d228
BLAKE2b-256 24543f8660bdd82ff4020ae13468e20a165a042b59821329455210d04dc37462

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page