Python SDK for Scout biomedical workflow APIs.
Project description
TryScout SDK
Python SDK for building biomedical workflows on top of the Scout API.
Install
pip install tryscout-sdk
Quickstart
import scout
from scout import MoleculeSet, Target, search, evidence, docking, properties, rank
scout.initialize(api_key="YOUR_SCOUT_API_KEY", base_url="https://api.tryscout.com")
target = Target.resolve("EGFR")
mols = MoleculeSet.from_smiles(["CCO", "CCN"]).canonicalize().deduplicate()
lit = search.query("EGFR NSCLC inhibitors")
support = evidence.find(
subject="molecule:Gefitinib",
predicate="targets",
obj=target.to_entity_reference(),
)
admet = properties.predict(mols, endpoints=["solubility", "logp"])
poses = docking.predict(protein="PDB_TEXT_HERE", ligands=[mols[0].effective_smiles])
ranked = rank.by_weighted_score(
list(mols),
features={
"support": [0.7, 0.4],
"docking": [0.8, 0.5],
"solubility": [0.6, 0.2],
},
).top_k(2)
ranked.to_csv("ranked_hits.csv")
Workflow helpers
workflow.pipeline(...)workflow.batch(...)workflow.export_report(...)
Notes
- API-backed primitives: search, entity resolution, evidence, docking, property prediction, structure prediction, molecule generation.
- Local primitives: chemistry transforms, protein loaders/parsers, ranking, pipeline orchestration, report export.
- RDKit and Biopython are installed by default with
tryscout-sdk.
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
tryscout_sdk-0.1.0a2.tar.gz
(40.2 kB
view details)
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 tryscout_sdk-0.1.0a2.tar.gz.
File metadata
- Download URL: tryscout_sdk-0.1.0a2.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee8fb887e9636d9ac79b4565cbabfbaa1d148d19466aa98434f7b6693bfc2b1b
|
|
| MD5 |
5ea1c009044a499cdb8fdcbd89491d9b
|
|
| BLAKE2b-256 |
3be6201d1d4c6b9ff653efc56a8a7cd6ba2c3d07aaf9d742ede0c00fc0b7d6e4
|
File details
Details for the file tryscout_sdk-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: tryscout_sdk-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 42.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f78173c21237ad753da41cc85d093aad0f0622db97f27fa485cd28e27b2d69d
|
|
| MD5 |
03ba8afef3853b0db77b9167974dcd2a
|
|
| BLAKE2b-256 |
4318e7dfb0aa4e1ba60eaa1b24c9cfa14c3fa594377e4dbf8bfc4c1b4ae850e8
|