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.4.tar.gz (8.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.4-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepmirror-0.0.4.tar.gz
  • Upload date:
  • Size: 8.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.4.tar.gz
Algorithm Hash digest
SHA256 00b398e2d4c14d5f33a7b694f55da115160e12cc16842555053f3fd627369c36
MD5 b38678d3738bc55c800b929f35d271c4
BLAKE2b-256 b364ca9d91c3ec0a8e17c94c39836ce30614d897bc20de71d82e2c78a6db8f16

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deepmirror-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.0 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 903b48f30622cb2c75b26a8c2af2d28a02ad2d6b68fa696cbdd3c4f92f777bac
MD5 4f19a6642f2e3dea9b2e99cb0b11cb21
BLAKE2b-256 6d48ab2a5c7fe51fb1afdf9963450b316097c5bf9ba5066c783f0ee6546c884b

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