Skip to content
A repository for quantum chemistry basis sets
Branch: master
Clone or download
bennybp Add aliases and flags
This allows for a basis set to have different names. Also this
adds flags, which is reserved for future use.
Latest commit 993c101 Mar 14, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.lgtm.yml Add LGTM config Sep 19, 2018
LICENSE Update license Feb 28, 2019 Fix URL in readme... Mar 11, 2019
setup.cfg Test some xfail Feb 10, 2019 Adds versioneer Jun 20, 2018

Build Status codecov Language grade: Python PyPI version

Basis Set Exchange Website

If you are looking for the Basis Set Exchange website (which can be used to browse and download this data in a more user-friendly way), visit


This project is a library containing basis sets for use in quantum chemistry calculations. In addition, this library has functionality for manipulation of basis set data.

The goal of this project is to create a consistent, thoroughly curated database of basis sets, and to provide a standard nomenclature for quantum chemistry.

The data contained within this library is being thoroughly evaluated and checked against relevant literature, software implementations, and other databases when available. The original data from the PNNL Basis Set Exchange is also available.

This library is used to form the backend of the new Basis Set Exchange website.

This project is a collaboration between the Molecular Sciences Software Institute ( and the Environmental Molecular Sciences Laboratory (


Full user and developer documentation can be found at

An overview of the project and its design is also available at

Command line interface

This library also includes a command line interface. See for how to use it.


This project can be installed via pip/PyPI.

pip install basis_set_exchange

If checking out from github, you can do a local install of the Python directory,

pip install -e .


Tests can be run using py.test -v once installed. Thorough (but very long) tests can be run with py.test --runslow.


import basis_set_exchange as bse

# Obtain the STO-3G basis set in nwchem format (as a string) for hydrogen and carbon
bse.get_basis('STO-3G', elements=[1,6], fmt='nwchem')

# Obtain the references for the above
bse.get_references('STO-3G', elements=[1,6], fmt='txt')

For more documentation, see

Command line

Same as above, but using the command line

$ bse bse get-basis sto-3g nwchem --elements=1,6

$ bse get-refs sto-3g txt --elements=1,6


This project is released under the BSE 3-Clause license. See LICENSE for details.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.