Skip to main content

Command line interface for the deepmirror public API

Project description

deepmirror

deepmirror is a command-line interface for interacting with the deepmirror API. It allows you to train models, run predictions, and submit structure prediction jobs directly from your terminal.

Installation

pip install deepmirror

Authentication

Before using most commands, you need to log in to get your API token:

dm login EMAIL

This saves your token and host in ~/.config/deepmirror/ for reuse.

Model Commands

List Available Models

dm model list

View Model Metadata

dm model metadata MODEL_ID

Get Full Model Info

dm model info MODEL_ID

Train a Custom Model

dm train --model-name mymodel \
  --csv-file path/to/data.csv \
  --smiles-column smiles \
  --value-column target \
  [--classification]
  • --classification enables classification mode.
  • Default SMILES column is smiles, target column is target.

Run Inference

You can run inference using either a CSV file or direct SMILES input:

# From a CSV or TXT file
dm predict --model-name mymodel --csv-file inputs.csv

# Direct SMILES
dm predict --model-name mymodel --smiles "CCO"

Co-folding and Affinity Predictions

Explore co-folding capabilities using the following notebooks:

💡 Tips

  • If a token is missing or expired, commands will prompt you to log in again.

  • Use --help on any command for more details, e.g.:

    dm train --help
    

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

deepmirror-0.0.5.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

deepmirror-0.0.5-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file deepmirror-0.0.5.tar.gz.

File metadata

  • Download URL: deepmirror-0.0.5.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for deepmirror-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6fc9f699af90471cd97653d055702d885a262473ca7ebe95d870542e097994dc
MD5 a9bc36e6a39a1d38985f264384b255f6
BLAKE2b-256 09c60ad732762f37bab33a5048261044170996ed3ce3f9e0132c35f975bd2aef

See more details on using hashes here.

File details

Details for the file deepmirror-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: deepmirror-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for deepmirror-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6b5f8ca68068fba016a2019e3c74aa8ab87fc8aeaebe2d9587db107aecb99856
MD5 2758094ffe860b4f133808370b15c09e
BLAKE2b-256 5dffe152ffb6b0e4195c90d03b9a5959171bc3757c127cc16cc49f4e0b1ce44e

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