SnaCLI
SnaCLI is a library which simplifies writing scripts which can be both run directly from the command line (based on docopt), as well as be called in a Snakemake file.
Introduction
In the Snakemake workflow management system, tasks can call Python scripts and pass them input, output and log filenames as well as global configuration values and non-filename parameters.
The system for passing and accessing these arguments is different to that adopted by command line tools (for example using the docopt library).
SnaCLI allows to easily combine the two approaches (docopt and snakemake) for providing arguments to a script. Script based on SnaCLI can be invoked both from the command line and from snakemake. Inside the script, the same code can be used in both cases, without modifications.
Usage
The usage of the library is explained in the user manual.
Metadata
Release files for snacli 1.2
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 |
|---|---|---|---|---|
| snacli-1.2.tar.gz | 12.2 kB | Without provenance | Details for snacli-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| snacli-1.2-py3-none-any.whl | Python 3 | none | any | Details for snacli-1.2-py3-none-any.whl |
Total release size: 16.8 kB
Release files / snacli-1.2.tar.gz
| Download URL | snacli-1.2.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b00d8e89cc0b4343869e86d9850fbf00536f9e247255bbb6da73fbb7261ef9e7
|
|
BLAKE2b-256 checksum How to use checksums |
76ada4665d6918e286c3d3fc87c0cba66f8a8ef99af253a48521e2f85cd8cfd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / snacli-1.2-py3-none-any.whl
| Download URL | snacli-1.2-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e3d98a205fd9e18a36cbdd4d98a096ac32285af5447f1afde6fc5af502c85b7
|
|
BLAKE2b-256 checksum How to use checksums |
fccc4fecc368542655233a8f8919d3bf07592ebea420e408dd6bda2f2ff8c35e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for snacli 1.2
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.