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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seqslab_cli-3.3.14-py2.py3-none-any.whl (172.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: seqslab_cli-3.3.14-py2.py3-none-any.whl
  • Upload date:
  • Size: 172.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for seqslab_cli-3.3.14-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f0a806855854338985aede02838e8caa89d9a541799a561aef3e48e19310d5a1
MD5 9f3d643e44a91ef258256009eb62010f
BLAKE2b-256 a8d5e06ec0e848721faeb326a6365c961cee0ba63ec96ef83cc7d2ee610eb440

See more details on using hashes here.

Supported by

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