Welcome to chemlab’s documentation!

Project Page:https://github.com/chemlab/chemlab
Mailing List:python-chemlab.googlegroups.com

Chemlab is a library that can help the user with chemistry-relevant calculations using the flexibility and power of the python programming language. It aims to be well-designed and pythonic, taking inspiration from project such as numpy and scipy.

Chemlab long term goal is to be:

  • General Chemistry is a huge field, chemlab wants to provide a general ground from where to build domain-specific tools and apps.
  • Array oriented most operations and data structures are based on numpy arrays. This let you write compact and efficient code.
  • Graphic chemlab integrates a 3D molecular viewer that is easily extendable and lets you write your own visualization tools.
  • Interoperable chemlab wants to be interoperable with other chemistry programs by reading and writing different file formats and using flexible data structures.
  • Fast Even if python is known to be slow every effort should be made to make chemlab ‘fast enough’, by using effectively numpy arrays and efficient data structures. When everything else fails we can still write the hard bits in C with the help of cython.

Current Status

Computational and theoretical chemistry is a huge field, and providing a program that encompasses all aspect of it is an impossible task. The spirit of chemlab is to provide a common ground from where you can build specific programs. For this reason it includes an fully programmable molecular viewer.

Chemlab is in its early developement and it provides the most basic data structures. The molecular viewer has a solid ground and can actually draw and play trajectories in an efficient way. To get started be sure to check the User Manual.

Chemlab is developer-friendly, it provides good documentation and has an easy structure to get in. Feel free to send me anything that you may do with chemlab, like supporting a new file format, a new graphic renderer, a nice example, even if you don’think it’s perfect. Send an email to the mailing list or file an issue on the github page to discuss any idea that comes to your mind. Get involved!


Chemlab is released under the GNU GPLv3 and its main developer is Gabriele Lanaro.

Project Versions

Table Of Contents

Next topic

Installation and Quickstart

This Page