sfftk-migrate: Utility to Update Old EMDB-SFF Files
About
sfftk-migrate is a utility for migrating EMDB-SFF files from older to the latest version of the data model (see https://emdb-empiar.github.io/EMDB-SFF/ for the latest version). It currently only supports migrations of XML (.sff) files from EMDB-SFF v0.7.0.dev0.
Usage
The main entry point for this utility is the sff-migrate command. Please consult the command-line help using:
~$ sff-migrate -h
usage: sff-migrate [-h] [-t TARGET_VERSION] [-o OUTFILE] [-v] [-l] [-s]
[infile]
Upgrade EMDB-SFF files to more recent schema
positional arguments:
infile input XML file
optional arguments:
-h, --help show this help message and exit
-t TARGET_VERSION, --target-version TARGET_VERSION
the target version to migrate to [default: 0.8.0.dev1]
-o OUTFILE, --outfile OUTFILE
outfile file [default: <infile>_<target>.xml]
-v, --verbose verbose output [default: False]
-l, --list-versions list supported versions [default: False]
-s, --show-version show the version of the input file [default: False]
Migrating is simple:
~$ sff-migrate file.sff
List supported versions:
~$ sff-migrate -l
versions migratable to 0.8.0.dev1:
* 0.7.0.dev0
Show the file’s version:
~$ sff-migrate -s sfftk_migrate/data/xml/emd_1547.sff
file sfftk_migrate/data/xml/emd_1547.sff is of version 0.7.0.dev0
~$ sff-migrate -s sfftk_migrate/data/xml/emd_1547_v0.8.0.dev1.sff
file sfftk_migrate/data/xml/emd_1547_v0.8.0.dev1.sff is of version v0.8.0.dev0
License
sfftk-migrate is free and open source software released under the terms of the Apache License, Version 2.0. Source code is copyright EMBL-European Bioinformatics Institute (EMBL-EBI) 2020.
Source code is available from the Github repository: https://github.com/emdb-empiar/sfftk-migrate
Metadata
Release files for sfftk-migrate 0.1.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 | |
|---|---|---|---|---|
| sfftk-migrate-0.1.1.tar.gz | 18.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sfftk_migrate-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.0 kB
Release files / sfftk-migrate-0.1.1.tar.gz
| Download URL | sfftk-migrate-0.1.1.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcce0216bedb3be9b2b672ffe1b31803769553c8d9cf3c544ce1baa741c45bd1
|
|
BLAKE2b-256 checksum How to use checksums |
09cebbeca8201a4ca10e2f84b2a55e46135f5984c1ba28fa93e46165c006b81a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
|
Release files / sfftk_migrate-0.1.1-py3-none-any.whl
| Download URL | sfftk_migrate-0.1.1-py3-none-any.whl |
|---|---|
| Size | 32.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f39261563ca12babe1a60b1ff0556bd09a9b3669b4e3072f5c0b41ddf2750c8
|
|
BLAKE2b-256 checksum How to use checksums |
c11575fe1fca9c1f387812c79f1586a4eb390585ee490a610a677929e85511c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
|
Security for sfftk-migrate 0.1.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.