asciiMol icon indicating copy to clipboard operation
asciiMol copied to clipboard

Curses based ASCII molecule viewer for terminals.

asciiMOL

PyPI version

Screenshots

A basic molecule viewer written in Python, using curses; Thus, meant for linux terminals.

This is an alpha version, featuring:

  • Opening default cartesian .xyz files
  • Displaying one-letter atom labels
  • Orthographic view
  • Navigation
  • Zoom, Rotation, Auto-Rotation
  • Bond detection and display
  • Optional integration of ASE and RDKit pypi packages for more formats and SMILES

Installation

pip install asciimol

(Note: pip will install a run script in $HOME/.local/bin/ if you do not install with root permissions, so make sure this directory is part of your $PATH.)

You can also run

pip install asciimol[formats,smiles]

to automatically install ASE for formats and RDKit for smiles.