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]
--classificationenables classification mode.- Default SMILES column is
smiles, target column istarget.
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:
-
Predict 3D structures of protein–ligand complexes via co-folding
-
Apply constraints during co-folding to guide the predicted structure
-
Estimate binding affinity values alongside structural prediction using Boltz-2
-
Apply Covalent Bond Constraints to guide co-folding of covalent ligands in Chai-1
💡 Tips
-
If a token is missing or expired, commands will prompt you to log in again.
-
Use
--helpon any command for more details, e.g.:dm train --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deepmirror-0.0.7.tar.gz.
File metadata
- Download URL: deepmirror-0.0.7.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ce4055298d9e2c2ebf98704408173863c093d18ef0adc5570b6c9353bf14bcb
|
|
| MD5 |
e2955201c9e5814009409c1136be41bb
|
|
| BLAKE2b-256 |
37f66038566eeaf93626c2ce5449b3f9be4b09bc4001d71f2a59b4672ef0516c
|
File details
Details for the file deepmirror-0.0.7-py3-none-any.whl.
File metadata
- Download URL: deepmirror-0.0.7-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ab06a00d0c2426ef0eabc5e326fc5d8db3f4018363ae0b2572e8de12e9c44e4
|
|
| MD5 |
cd539623abc5f6f2ff96723911d81c5c
|
|
| BLAKE2b-256 |
4c335df901e698a4f6cf162042ed2687e2b0bcc5d0310538f371f6015398e03d
|