alterlab-zinc-db
Installation
SKILL.md
ZINC Database
Overview
ZINC is a freely accessible repository of 230M+ purchasable compounds maintained by UCSF. Search by ZINC ID or SMILES, perform similarity searches, download 3D-ready structures for docking, discover analogs for virtual screening and drug discovery.
Scripts
scripts/query_zinc.py — query the ZINC22 CartBlanche API via form-encoded POST (stdlib only, JSON to stdout):
python scripts/query_zinc.py id ZINC000019632618 # ZINC-ID lookup
python scripts/query_zinc.py smiles "c1ccccc1" --dist 3 # SMILES similarity search
python scripts/query_zinc.py random --count 100 --subset lead-like # random sample