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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file molgenis_emx2_staging-migrator-8.213.11.dev1692184266583.tar.gz.
File metadata
- Download URL: molgenis_emx2_staging-migrator-8.213.11.dev1692184266583.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d75457b7a29deb517b90a0fa73ea64da21f67545f49dea80664db30e161d05d7
|
|
| MD5 |
3619542e225407edb03b42c7c7e2bbc8
|
|
| BLAKE2b-256 |
5b8340c65a3790a8bef0c1dc624ce1ac3d02f7b7a13c7879a836fae7c2e3df81
|
File details
Details for the file molgenis_emx2_staging_migrator-8.213.11.dev1692184266583-py3-none-any.whl.
File metadata
- Download URL: molgenis_emx2_staging_migrator-8.213.11.dev1692184266583-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e775d2bf9af38b06464e55b698de20a1d5346f6636dbf0453c854f308b89ab4f
|
|
| MD5 |
4095669bd22646dac3065a4150a7d228
|
|
| BLAKE2b-256 |
24543f8660bdd82ff4020ae13468e20a165a042b59821329455210d04dc37462
|