English · 한국어
Chemvas is a lightweight PyQt6 app for drawing 2D chemical structures and reaction schemes — ACS 1996 defaults, ChemDraw-compatible shortcuts, and publication-ready figure export. Draw fast, export exactly.
Statement of need
Sketching a scheme for a lab notebook or paper should not require a commercial suite — and automating edits should not mean trusting an LLM with your drawing. Chemvas keeps the interactive canvas small and fast, and exposes headless CLI contracts for rendering, inspection, editing, and calculation handoff: document edits bind to the exact source hash and unsupported input fails closed. Agents propose, validation decides.
Quickstart
pip install chemvas # core (PyQt6 included)
pip install "chemvas[rdkit]" # + SMILES import, formula/weight, calculation handoff, 3D
chemvas
Pick a tool from the toolbar and click/drag on the canvas. Type a SMILES string and press Insert to preview and place it (RDKit). Open examples/template2.chemvas via File ▸ Open to explore the document shown above.
What it does
| Capability | Use it for | Details |
|---|---|---|
| Drawing | bonds, rings, arrows, lines, brackets, atom labels — with ChemDraw-compatible shortcuts | REFERENCE |
| Figure export | plain SVG / PDF / PNG / TIFF, outlined glyphs, deterministic physical sizing | REFERENCE |
| Chemistry I/O | SMILES import, .mol interchange, 2D→3D .xyz, Molecule Info (RDKit) |
REFERENCE |
| Agent CLI | headless compose / layout-check / render / inspect / hash-gated Graph Patch, no Qt window | AGENT_CLI |
| Calculation handoff | elementary steps, reviewed precomplexes, one machine.json per step (RDKit) |
AGENT_CLI |
Documents are .chemvas files (JSON, version 7 contract) with autosave and
crash recovery; everything except the marked (RDKit) features runs without
RDKit.
Development, testing, and full docs
make checkruns the whole local gate — lint, formatting, mypy, the file-isolated headless test suite, and themachine.jsonconformance check. Read CONTRIBUTING.md before moving code: the architecture boundaries are enforced by tests.- Docs index: REFERENCE · AGENT_CLI · ARCHITECTURE · CHANGELOG · RELEASING
- Known gaps (SDF interchange, one-file binaries, multi-molecule 3D export) → roadmap
License
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 chemvas-0.8.1.tar.gz.
File metadata
- Download URL: chemvas-0.8.1.tar.gz
- Upload date:
- Size: 595.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6a683901bc3a32bbc0e89560c4779293cee792baca28da6c2f5af1c10986628
|
|
| MD5 |
234803dd5f3377978b9d5680c7fe32f2
|
|
| BLAKE2b-256 |
67aa9db42c45b84764bda49cffddc504b130ee769f8bd89282273df80a5799db
|
Provenance
The following attestation bundles were made for chemvas-0.8.1.tar.gz:
Publisher:
release.yml on dhsohn/Chemvas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chemvas-0.8.1.tar.gz -
Subject digest:
a6a683901bc3a32bbc0e89560c4779293cee792baca28da6c2f5af1c10986628 - Sigstore transparency entry: 2748785669
- Sigstore integration time:
-
Permalink:
dhsohn/Chemvas@0dc4862337756a5edf0f4bc1ff8bc5e6c459f9db -
Branch / Tag:
refs/tags/v0.8.1 - Owner: https://github.com/dhsohn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0dc4862337756a5edf0f4bc1ff8bc5e6c459f9db -
Trigger Event:
push
-
Statement type:
File details
Details for the file chemvas-0.8.1-py3-none-any.whl.
File metadata
- Download URL: chemvas-0.8.1-py3-none-any.whl
- Upload date:
- Size: 752.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ada310fed140959335d7eeebfe43da6c32dc603139db797ec62749ab0029180
|
|
| MD5 |
ba0bb920f3fce4b0ec80ffa0e723791e
|
|
| BLAKE2b-256 |
452adf073027f4e5513ea3622d83e47727d511ebf956bc8b44b38cdfd8bdb7e3
|
Provenance
The following attestation bundles were made for chemvas-0.8.1-py3-none-any.whl:
Publisher:
release.yml on dhsohn/Chemvas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chemvas-0.8.1-py3-none-any.whl -
Subject digest:
3ada310fed140959335d7eeebfe43da6c32dc603139db797ec62749ab0029180 - Sigstore transparency entry: 2748785691
- Sigstore integration time:
-
Permalink:
dhsohn/Chemvas@0dc4862337756a5edf0f4bc1ff8bc5e6c459f9db -
Branch / Tag:
refs/tags/v0.8.1 - Owner: https://github.com/dhsohn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0dc4862337756a5edf0f4bc1ff8bc5e6c459f9db -
Trigger Event:
push
-
Statement type: