Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Python interface to the Open Babel chemistry library

Project Description

This is a Python interface to the Open Babel chemistry library. For the main Open Babel project, see http://openbabel.org.

Open Babel is a chemical toolbox designed to speak the many languages of chemical data. It’s an open, collaborative project allowing anyone to search, convert, analyze, or store data from molecular modeling, chemistry, solid-state materials, biochemistry, or related areas. For installation instructions, tutorials and examples, please visit the Open Babel website.

This package provides two Python modules that can be used to access the functionality of the Open Babel toolkit:

  • The openbabel module: A wrapper that is automatically generated using the SWIG package and provides access to almost all of the Open Babel interfaces via Python, including the base classes OBMol, OBAtom, OBBond, and OBResidue, as well as the conversion framework OBConversion.
  • The pybel module: A lightweight wrapper around the classes and methods in the openbabel module. Pybel provides more convenient and Pythonic ways to access the Open Babel toolkit.

For detailed installation instructions, API documentation and further information on the Python bindings, see the Python pages on the Open Babel website.

Dependencies

  • Python 2.4 or a more recent version.
  • Open Babel 2.3.0 or a more recent version.

Installation

Option 1: Use pip.

pip install openbabel

Option 2: Download the latest release and install yourself.

tar -xzvf openbabel-1.8.1.tar.gz
cd openbabel-1.8.1
python setup.py install

Option 3: While building Open Babel itself.

cd openbabel
mkdir ob-build
cd ob-build
cmake -DRUN_SWIG=ON -DPYTHON_BINDINGS=ON ..
make install

Release history Release notifications

This version
History Node

2.4.1

History Node

2.4.0

History Node

1.8.4

History Node

1.8.3

History Node

1.8.2

History Node

1.8.1

History Node

1.8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
openbabel-2.4.1-cp27-cp27m-win32.whl (532.2 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 2, 2017
openbabel-2.4.1-cp27-cp27m-win_amd64.whl (722.2 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 2, 2017
openbabel-2.4.1-cp34-cp34m-win32.whl (529.9 kB) Copy SHA256 hash SHA256 Wheel 3.4 Jan 2, 2017
openbabel-2.4.1-cp34-cp34m-win_amd64.whl (729.7 kB) Copy SHA256 hash SHA256 Wheel 3.4 Jan 2, 2017
openbabel-2.4.1-cp35-cp35m-win32.whl (529.9 kB) Copy SHA256 hash SHA256 Wheel 3.5 Jan 2, 2017
openbabel-2.4.1-cp35-cp35m-win_amd64.whl (730.0 kB) Copy SHA256 hash SHA256 Wheel 3.5 Jan 2, 2017
openbabel-2.4.1-cp36-cp36m-win32.whl (529.7 kB) Copy SHA256 hash SHA256 Wheel 3.6 Feb 17, 2017
openbabel-2.4.1-cp36-cp36m-win_amd64.whl (729.6 kB) Copy SHA256 hash SHA256 Wheel 3.6 Feb 17, 2017
openbabel-2.4.1.tar.gz (74.4 kB) Copy SHA256 hash SHA256 Source None Oct 18, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page