cclib is an open source library, written in Python, for parsing and interpreting the results of computational chemistry packages. The goals of cclib are centered around the reuse of data obtained from these programs and contained in output files, specifically:
- extract (parse) data from the output files generated by multiple programs
- provide a consistent interface to the results of computational chemistry calculations, particularly those results that are useful for algorithms or visualization
- facilitate the implementation of algorithms that are not specific to a particular computational chemistry package
- to maximize interoperability with other open source computational chemistry and cheminformatic software libraries
The current version is cclib 1.6.1 (see the changelog for what’s new) and parses output files from the following programs (version in parentheses are tested):
- ADF (versions 2007 and 2013)
- DALTON (versions 2013 and 2015)
- Firefly, formerly known as PC GAMESS (version 8.0)
- GAMESS (US) (version 2012)
- GAMESS-UK (version 7.0)
- Gaussian (versions 03, 09 and 16)
- Jaguar (versions 7.0 and 8.3)
- Molcas (version 18.0)
- Molpro (versions 2006 and 2012)
- MOPAC (version 2016)
- NWChem (versions 6.0 and 6.5)
- ORCA (versions 3.0 and 4.0)
- Psi (versions 3.4 and 4.0)
- Q-Chem (version 4.2)
- Turbomole (versions 5.9 and 7.2)
Many types of output data are parsed by cclib, including atom coordinates, orbital information, vibrational modes and TD-DFT calculations. See the page on Extracted Data for a complete list with coverage for the different programs. Several calculation methods are also provided for interpreting the electronic properties of molecules.
How to use cclib¶
You can download the source package for cclib 1.6.1 or the current development version (from the GitHub repository). For information on packages available in various Linux distributions, installing the source code and requirements, as well as basic usage, the How to install is a good place to start.
The code behind cclib was started as a collaboration between Noel O’Boyle, Adam Tenderholt and Karol M. Langner (see page about Development for details) and is licensed under the BSD 3-clause license. Other developers are encouraged to contribute to this open source project – send an email to the developers mailing list. Applications that use cclib include GaussSum and QMForge. It has also been used in the literature.
If you use cclib in your scientific work, please support our work by adding a reference to the following article:
A record for the latest release is also available on Zenodo.