Skip to main content

Pending AI CLI Cheminformatics Platform tool

Project description

Pending.ai CLI

Owner: @JBercich

Command-line tool for using the Pending.ai Cheminformatics Platform.

  • retro - Molecule retrosynthesis using machine-learning MCTS inference for generating synthesis routes.

Getting Started

[!NOTE] The pending.ai CLI will soon be available on PyPi.

Build from Source

The CLI tool can be built using the poetry build tool. Clone the repository locally and install the package for immediate use.

git clone https://github.com/pendingai/pendingai-cli.git
cd pendingai-cli
pip install poetry
poetry build
poetry install

The CLI can be used by now running pendingai --help to display the available commands.

pendingai --version
> 0.0.1

Authenticating the Client

[!WARNING] To authenticate against different environments, use pendingai --env <envname> login to generate access tokens for different authenticate tenants.

Authorised platform access requires a valid set of user credentials. You can register a device code using pendingai login to retrieve and cache an access token to use the different services.

Retrosynthesis Platform

pendingai retro --help

The Pending.ai retrosynthesis service requires authentication credentials with attached billing information to submit query molecules for synthesis. You will be notified if the billed query request fails with no charge.

Below are some typical use cases:

# Inspect available engines and libraries for synthesis requests
pendingai retro engines
pendingai retro libraies

# Submit a query molecule and inspect the results
pendingai retro query --smi <molecule>
pendingai retro status --id <query-id>
pendingai retro view --id <query-id> --json > result.json

# Submit a file batch of results
pendingai retro query --batch-file <smi-filepath>
pendingai retro status --batch-file <ids-filepath>
pendingai retro view --batch-file <ids-filepath> --json > results.json

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

pendingai-0.0.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

pendingai-0.0.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file pendingai-0.0.1.tar.gz.

File metadata

  • Download URL: pendingai-0.0.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for pendingai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cb92db6addb453459248f8d0cc4e2cdff43bd9f57a77fc14f3ff7dbeb7da4af9
MD5 895396bbb3a458d32be3c6686b42c09e
BLAKE2b-256 c13c02538511e92478bb860bf6c33b483624170421327e1ec7a07c063a66ed18

See more details on using hashes here.

File details

Details for the file pendingai-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pendingai-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for pendingai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc143ff30607a4e53a0c43902b5317073029e3241c46e690d8d3c07958131fff
MD5 336d88c26d96f709f7785576f4ba7827
BLAKE2b-256 f47a38fc1e52e84b14c5fd5460da3028f9540a235339a072e104710e05414f2f

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