Home
A typed Rust chemistry core for browser, Python, Node, and native applications. Supported browser workflows run entirely in WebAssembly, without a chematic backend.
Current release: v1.2.6 · release notes
Choose chematic when local execution and explicit boundaries matter
- Local-first: parsing, descriptors, fingerprints, similarity search, and 2D depiction can run in the browser. The Explorer and Playground are static sites and do not upload molecule data to a chematic service.
- One core: Rust, Python, Node, and WebAssembly use the same Rust implementation instead of separate ports.
- Typed boundaries: unsupported chemistry, malformed input, cancellation, and resource limits are explicit outcomes.
- Reproducible claims: compatibility and performance results identify the version, corpus, operation, options, and failure policy.
RDKit remains the better default for maximum chemistry and ecosystem breadth. Open Babel remains a strong choice for broad command-line format conversion. Use the selection guide to compare deployment, failure handling, supported chemistry, and evidence before choosing a toolkit.
Quick start
Installation: pip install chematic, cargo add chematic, or
npm install @kent-tokyo/chematic.
Choose an entry point
| You are building | Start here |
|---|---|
| A local browser tool | Browser integration or the Explorer |
| A Python notebook or report | Python notebook guide |
| A Rust service or CLI | Rust server guide |
| An MCP-enabled agent | AI-assisted analysis |
| A reproducible research workflow | Researcher guide |
| A migration from RDKit | Check compatibility before migrating, then translate RDKit code |
Release verification
The validation report links v1.2.5 publication checks, wheel tests, and versioned benchmarks. See the compatibility scope for supported inputs and the Cleanup migration note for checked Cleanup error handling.
Stable and bounded areas
Stable selected paths include SMILES/SMARTS, descriptors, fingerprints, similarity and substructure search, common MOL/SDF I/O, and the documented Rust/Python/Node/WASM bindings.
3D, pKa/ADMET screening, IUPAC naming, Markush/polymer expansion, rich CDXML
editing, and the RDKit-style API are experimental or intentionally bounded.
canonical_smiles() is not always a safe identity key; use the fail-closed
canonical_smiles_stable_key() where the documented domain is sufficient.
Rust line coverage is measured separately from chemistry validation. CI enforces at least 96.7% for its declared Rust scope; this shows which code ran, not whether every chemical result is correct.