Skip to main content

Chemvas — Draw interactively. Automate safely. Export exactly.

CI PyPI Python 3.12+ License: MIT

English · 한국어

Chemvas is an open-source chemical drawing application designed for desktop drafting and publication-quality figure preparation. Draw structures and reaction schemes intuitively on the canvas, insert SMILES, align components, and export figures with exact journal dimensions.

Features

  • Intuitive Canvas Drawing: Sketch structures, insert SMILES, label reaction arrows, and align molecules with real-time feedback, autosave, and session recovery.
  • Publication-Ready Figure Export: Export vector graphics (SVG, PDF) and raster images (PNG, TIFF) at exact publication column widths (e.g., 82 mm, 174 mm) while retaining full canvas editability.
  • Chemistry & 3D Preview: Inspect molecular properties, view interactive 3D conformations, and export XYZ coordinates with optional RDKit integration.
  • Reliable Document Format: Saved .chemvas documents remain fully editable JSON files (version 8, schema 1). See the document compatibility policy.

Install

Requires Python 3.12+.

To use chemical informatics features (SMILES insertion, molecular properties, 3D XYZ export, and structure suggestions), install with the optional RDKit backend:

pip install "chemvas[rdkit]"
chemvas

For basic drawing, document editing, and figure export without RDKit:

pip install chemvas

For local Windows packaging, see the Windows packaging guide.

Quickstart: Your First Reaction Scheme

Chemvas walkthrough: insert structures, label an arrow, align the scheme, and export SVG

  1. Type OCc1ccccc1 in the SMILES field below the toolbar, click Insert, then click on the canvas. Hover over the oxygen atom, press Enter, and set the label to OH.
  2. Insert O=Cc1ccccc1 to the right. Select the Arrow tool, drag between the structures, and double-click the arrow to add condition labels.
  3. Select both molecules (Edit ▸ Select All) and align them (Edit ▸ Align ▸ Middle).
  4. Save the document (.chemvas). Export via File ▸ Export Figure… → Plain SVG, Fit 2-column (174 mm).

For detailed instructions and example files, see the step-by-step guide.

Documentation

Feedback and bug reports: GitHub Issues.

How this was built

I'm a chemist, not a programmer. AI coding agents write the code in this repository. I decide what Chemvas should do, record structural decisions as architecture decision records, keep saved drawings under a written compatibility policy, and set the checks a change must pass before it merges.

I don't review the code line by line, so a change is accepted on evidence, not on an agent's report that it works:

  • make check runs lint, formatting and type checks, then runs each test file in its own process so Qt state cannot leak from one file into the next. CI runs the same per-file suite.
  • machine.json output is validated against the shared machine-contracts validator. When the validator is missing, the check fails instead of passing silently.
  • High-impact changes, such as the document format, undo and rollback, and figure export, get an independent adversarial review from a separate agent.

Metadata

Release files for chemvas 0.22.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chemvas 0.22.0
File Size Uploaded
chemvas-0.22.0.tar.gz 718.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chemvas 0.22.0
File Interpreter ABI Platform
chemvas-0.22.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / chemvas-0.22.0.tar.gz

Download URL chemvas-0.22.0.tar.gz
Size 718.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d6c0a04686accbeab3e1b8487d182d8b780d4bec113e33b65afef035ee509dde
BLAKE2b-256 checksum
How to use checksums
867e5eb7a5ac0b3e311b93da03f557a0a34c40e80c107dec9f015d296ca6cec0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release files / chemvas-0.22.0-py3-none-any.whl

Download URL chemvas-0.22.0-py3-none-any.whl
Size 904.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d92359f3907d77c19c636841c64e3ef0e4640903d9b303929c8e14441d396716
BLAKE2b-256 checksum
How to use checksums
1e0d82605925d953829954c38031716c3a6780c880b7c9cc7905371162d72739
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release history Release notifications | RSS feed

0.23.0

2 release files

This release

0.22.0 This release

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.17.1

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page