Skip to content
/ bkchem Public
forked from simone16/bkchem

BKChem is a GUI for drawing chemical structures. OASA (Open Architecture for Sketching Atoms and Molecules) is the chemistry library that powers structure conversion and analysis. This repository is the primary home for both projects.

License

Notifications You must be signed in to change notification settings

vosslab/bkchem

 
 

Repository files navigation

BKChem and OASA

BKChem is a GUI for drawing chemical structures. OASA (Open Architecture for Sketching Atoms and Molecules) is the chemistry library that powers structure conversion and analysis. This repository is the primary home for both projects.

Packages

  • packages/bkchem/ BKChem Tk GUI for drawing chemical structures.
  • packages/oasa/ OASA (Open Architecture for Sketching Atoms and Molecules) library and CLI converters used by BKChem.

Terminology

  • Plugin: BKChem GUI extension (menu action or drawing mode) that runs inside the editor and uses Tk/UI state.
  • Addon: filesystem plugin loaded from packages/bkchem/addons/ or ~/.bkchem/addons/, described by a small XML manifest and script.
  • Codec: OASA format adapter for reading and writing molecules (SMILES, InChI, molfile, CDML). Codecs are non-GUI and registered in OASA.

BKChem

BKChem is the user-facing drawing application. It uses OASA as the backend for structure parsing, conversion, and analysis.

Use BKChem when you need:

  • A GUI for drawing and editing structures by hand.
  • Template-based sketching, fragment reuse, and layout helpers.
  • Visual export workflows backed by OASA conversions.

OASA

OASA is the chemistry library and conversion engine. It can be used on its own in scripts or services, and it powers BKChem under the hood.

Use OASA when you need:

  • Programmatic access to structure graphs and conversions.
  • Batch processing and automation outside the GUI.
  • A reusable backend for other chemistry tools.

Highlights

BKChem

  • Interactive chemical drawing with templates and reusable fragments.
  • Batch mode scripting for automation and scripted edits.
  • Export and import workflows powered by OASA.

OASA

  • Python library for chemical structure graphs and conversions.
  • Used by BKChem but available as a standalone library.

Screenshots (legacy)

The screenshots below are from the archived site (Python 2 era) but still show core workflows that BKChem supports today.

BKChem drawing example BKChem PDF export example BKChem templates example

Docs

Distribution

  • Planned: publish OASA to PyPI from this repository.
  • Planned: ship BKChem binary installers (macOS dmg, Linux Flatpak, Windows).

Local website mirror

  • bkchem_webpage/ contains a local copy of the legacy BKChem website.

Project home

Legacy references

License

  • See LICENSE.

About

BKChem is a GUI for drawing chemical structures. OASA (Open Architecture for Sketching Atoms and Molecules) is the chemistry library that powers structure conversion and analysis. This repository is the primary home for both projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%