Skip to main content

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 3 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-3-1-0.tar.gz
cd openbabel-openbabel-3-1-0
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

Metadata

Release files for openbabel 3.1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openbabel 3.1.1.1
File Size Uploaded
openbabel-3.1.1.1.tar.gz 82.8 kB Details

Release files / openbabel-3.1.1.1.tar.gz

Download URL openbabel-3.1.1.1.tar.gz
Size 82.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bb7f8cad15f3a208f4869d7943cbb14eb7125372eba397588f207f8d19e78373
BLAKE2b-256 checksum
How to use checksums
9d3ff08f5d1422d74ed0e1e612870b343bfcc26313bdf9efec9165c3ea4b3ae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9

Release history Release notifications | RSS feed

3.2.1

26 release files

3.2.0

26 release files

This release

3.1.1.1 This release

1 release file

3.1.1

9 release files

3.0.0

8 release files

2.4.1

9 release files

2.4.0

9 release files

1.8.4

1 release file

1.8.3

1.8.2

1 release file

1.8.1

1 release file

1.8

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page