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 csm-openbabel 3.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 csm-openbabel 3.1
File Size Uploaded
csm_openbabel-3.1.tar.gz 77.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for csm-openbabel 3.1
File
csm_openbabel-3.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
csm_openbabel-3.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
csm_openbabel-3.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
csm_openbabel-3.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details

Total release size: 3.0 MB

Release files / csm_openbabel-3.1.tar.gz

Download URL csm_openbabel-3.1.tar.gz
Size 77.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9f15556d6bdc8fe3dcb3f51b61d61ebb0c3168572903f4315c193fd91d41027e
BLAKE2b-256 checksum
How to use checksums
11fa989512feb9eca608d0943252bc8a8f3f4936564d85435b91d7a19fcc4a8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / csm_openbabel-3.1-cp310-cp310-win_amd64.whl

Download URL csm_openbabel-3.1-cp310-cp310-win_amd64.whl
Size 730.6 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
151e2a883177d5c27b4645a8e08676810d2ac42d536a6905b1d174d84982720f
BLAKE2b-256 checksum
How to use checksums
2a716567232f21a6d1983e51ee0518eb4030e4b0b81ba0e880e1dd6c67b24cfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / csm_openbabel-3.1-cp39-cp39-win_amd64.whl

Download URL csm_openbabel-3.1-cp39-cp39-win_amd64.whl
Size 730.6 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
abd727b39f16108d084c98d4100bf2dbb43e72812f712b4487c6f7faec11aca5
BLAKE2b-256 checksum
How to use checksums
c30e1964cc04db67c8c9c8a4d8b7a1cea23ba433ee3695f2146cf8c7aca24010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / csm_openbabel-3.1-cp38-cp38-win_amd64.whl

Download URL csm_openbabel-3.1-cp38-cp38-win_amd64.whl
Size 731.0 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
1ec4489d6c7d293c31d923a3a10e672f5319d568e53b71d342a3fdf3b3d10b67
BLAKE2b-256 checksum
How to use checksums
e21fb52bf0f7cad6211e30f64f4ce731a5d53f398e6786a4bfb3c43869bbb786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / csm_openbabel-3.1-cp37-cp37m-win_amd64.whl

Download URL csm_openbabel-3.1-cp37-cp37m-win_amd64.whl
Size 767.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
9e83f9620357e7895e56e915aa8f0906dae6502bc7df73554cafe622e5b163f8
BLAKE2b-256 checksum
How to use checksums
3c5348e957a5a0583efff5c748a6d49f9a1c0605186cd669791530d7ee7bb323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

3.1 This release

5 release files

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