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.6.tar.gz (9.0 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.6-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepmirror-0.0.6.tar.gz
  • Upload date:
  • Size: 9.0 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.6.tar.gz
Algorithm Hash digest
SHA256 61c2dc1e102d4e8d1faeac9e44b10976e5c5533dacabc6a6ca49a24d0ce93963
MD5 01cdc2afe136d10fe8d38089f38b3b43
BLAKE2b-256 71a271b86f66c72b5c2d31ba578e4e67a7982a3962dd86aefd15ab7fb6f270b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deepmirror-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 731bd10e48505456996592913a8604702d31eacd0ef214a2669dd3bad77b9ac8
MD5 54fdb0c85dd0db03699ba4c4c731ffc4
BLAKE2b-256 3a7b0b2f8ab609858c586a5e63c6587701d6bf94ad2178b8e4909fed5de8d791

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