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. Specify the URL of the server, the API token, the name of the target of the published data, i.e. the catalogue. It is recommended that the token not be written directly in your script but stored as an environmental variable and retrieved at runtime.
from molgenis_emx2_staging_migrator import StagingMigrator
token = ...
with StagingMigrator(url='https://example.molgeniscloud.org', token=token,
target="catalogue") as migrator:
# Retrieve sign-in information
print(migrator.status)
# Set the source and target schemas
migrator.set_source('StagingExample')
migrator.set_target('catalogue')
# Execute the migration
migrator.migrate()
Build
(venv) $ python -m build
(venv) $ pip install dist/molgenis_emx2_staging_migrator*.whl
Metadata
Release files for molgenis-emx2-staging-migrator 13.214.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| molgenis_emx2_staging_migrator-13.214.1.tar.gz | 11.8 kB | Without provenance | Details for molgenis_emx2_staging_migrator-13.214.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| molgenis_emx2_staging_migrator-13.214.1-py3-none-any.whl | Python 3 | none | any | Details for molgenis_emx2_staging_migrator-13.214.1-py3-none-any.whl |
Total release size: 25.3 kB
Release files / molgenis_emx2_staging_migrator-13.214.1.tar.gz
| Download URL | molgenis_emx2_staging_migrator-13.214.1.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
422ac1446916e33dcafc233a943d66e67d359df114071aeba6169dd408defa29
|
|
BLAKE2b-256 checksum How to use checksums |
5b749cfa16d200bb4df4aea6094a2db708cdb4edcfa6a31c1e6f818e4daf679b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / molgenis_emx2_staging_migrator-13.214.1-py3-none-any.whl
| Download URL | molgenis_emx2_staging_migrator-13.214.1-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb2a50308eabb9770e383e580d7e60fe1fb014b253be24fd12bd88b366050123
|
|
BLAKE2b-256 checksum How to use checksums |
c8fea75482f42c3897f13e1ecd7d0f65b4d80367d6ed80fe7f604b0126e5769f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for molgenis-emx2-staging-migrator 13.214.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.