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-10.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f649fdfb9d2336b9013caed2e3fdd98aecc12225036f99d933cc3ddb4fccfe |
|
MD5 | adb7b88284fcaab4a247cb017d3ea363 |
|
BLAKE2b-256 | d74e50c6a2e24eb491f6e92e41cd3b77e6848f5733ff9a6003c86ddf494428a1 |
Close
Hashes for molgenis_emx2_staging_migrator-10.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5f72ead7080ed2bd91fd07693f6503dec3e25356111b01262edc5d54c395a9f |
|
MD5 | 5a8b070d20c49e2b189cac2d5b738017 |
|
BLAKE2b-256 | f0a91d944cb44ebeb092eed66bc76ec4e6f6760f730433bee2a4a9112d8f3bed |