Atgenomix SeqsLab Command Line Tool
Project description
This package provides a unified command line interface to Atgenomix SeqsLab, a cloud-native biomedical informatics (BioMed IT) platform.
Table of Contents
Getting Started
Prerequisites
-
Python 3.8 or later
Detail to see Installation
Install the SeqsLab CLI
pip install seqslab-cli
Interactive Mode
This mode provides fish-style auto-completion functionality that is user-friendly, especially for beginners.
-
Run interactive mode.
seqslab
-
Display the available commands.
root> help
-
End the current interactive mode session and return to the Linux shell.
root> exit
CLI Mode
Through the use of subcommands, you can operate the SeqsLab CLI like any traditional Linux-based command-line utility.
seqslab -h
seqslab auth -h
Basic Commands
Authentication with the SeqsLab API
Regardless of the mode that you intend to use, you must sign in to authenticate the session. The SeqsLab CLI follows the OAuth 2.0 Device Authorization Grant (external URL) process.
Example (interactive mode):
-
Specify the platform backend to be used when launching the SeqsLab CLI. The default value is
azure
.seqslab --backend azure
-
Sign in to the SeqsLab API and obtain API tokens with a single command. By default, the sign-in process uses the Authorization Code Flow.
root> auth signin
Set the device-code argument to
True
. By default, the sign-in command uses the Device Code Flow for browserless systems.root> auth signin device-code=True
-
Obtain an API access token for interacting with SeqsLab API apps.
root> auth token # use token in your request header, ex: Authorization: Bearer {access}
Access tokens are persistently cached in the system-supported secret service (for example, Freedesktop Secret Service or macOS Keychain). As a result, valid access tokens can be used across multiple SeqsLab CLI sessions.
Help documentation
To view help documentation, use one of the following:
root> help
Getting Help
The best way to interact with our team is through GitHub. You can open an issue and choose from one of our templates for guidance, bug reports, or feature requests.
Please check for open similar issues before opening another one.
More Resources
Contributing
The repository currently does not accept contributions but will eventually be opened to the community.
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
File details
Details for the file seqslab-cli-3.3.8.tar.gz
.
File metadata
- Download URL: seqslab-cli-3.3.8.tar.gz
- Upload date:
- Size: 102.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 018f48db9638be6be3f37a116ef092e2d4a87f74e5462fd4623bf24754b7857d |
|
MD5 | d5e341973cd8c4e392ea1988a058af9a |
|
BLAKE2b-256 | 9489bb88c24e2209476a26c6ab01ad60502bc5639a87b6b545d300d5c71bbe25 |
File details
Details for the file seqslab_cli-3.3.8-py2.py3-none-any.whl
.
File metadata
- Download URL: seqslab_cli-3.3.8-py2.py3-none-any.whl
- Upload date:
- Size: 163.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51ad8fed13ca3514daafdee3f9fe7442ae4357bc57e98c8f102897cb837a2829 |
|
MD5 | 13dbf8e7e7559f26026d8bdb73fcfc19 |
|
BLAKE2b-256 | 9bd9e9563ef4f5f2d0b3e87bac0770e8c9a8d8683e4b9d43fea61664b087b8c2 |