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"

Batch Inference

Upload a Parquet file for large-scale predictions:

dm batch create MODEL_ID path/to/input.parquet

Check job status and download results once completed:

dm batch status TASK_ID
dm batch download TASK_ID predictions.parquet

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.13.tar.gz (11.4 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.13-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepmirror-0.0.13.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for deepmirror-0.0.13.tar.gz
Algorithm Hash digest
SHA256 fda764c6fecd8de5095acfd54149b0d28a32a302e571ba63627178ff3410afa2
MD5 b69239254ac074c9bf93d02d2cbcec2b
BLAKE2b-256 5c032daf7d508b5dbac5365af4a5889bc625dfaa14b9734ddfa72f9cf50f7efd

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepmirror-0.0.13.tar.gz:

Publisher: publish.yml on deepmirror/deepmirror-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: deepmirror-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for deepmirror-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 7636031a1eb8a5ed94aeb85f8351840ec7af46e0500a3f8e8b44029e9b73c714
MD5 d5d164817c5d2f6748b6d87584886d9b
BLAKE2b-256 bcaf8f5a7b25fd1795e1be98ee473cb8b43e8f9de251bbe5980630dcddbbdebe

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepmirror-0.0.13-py3-none-any.whl:

Publisher: publish.yml on deepmirror/deepmirror-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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