Skip to main content

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
  1. Getting Started
  2. Getting Help
  3. Contributing
  4. More Resources

Getting Started

Prerequisites

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seqslab-cli-3.3.8.tar.gz (102.2 kB view details)

Uploaded Source

Built Distribution

seqslab_cli-3.3.8-py2.py3-none-any.whl (163.0 kB view details)

Uploaded Python 2 Python 3

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

Hashes for seqslab-cli-3.3.8.tar.gz
Algorithm Hash digest
SHA256 018f48db9638be6be3f37a116ef092e2d4a87f74e5462fd4623bf24754b7857d
MD5 d5e341973cd8c4e392ea1988a058af9a
BLAKE2b-256 9489bb88c24e2209476a26c6ab01ad60502bc5639a87b6b545d300d5c71bbe25

See more details on using hashes here.

File details

Details for the file seqslab_cli-3.3.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for seqslab_cli-3.3.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 51ad8fed13ca3514daafdee3f9fe7442ae4357bc57e98c8f102897cb837a2829
MD5 13dbf8e7e7559f26026d8bdb73fcfc19
BLAKE2b-256 9bd9e9563ef4f5f2d0b3e87bac0770e8c9a8d8683e4b9d43fea61664b087b8c2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page