Skip to main content

Open Babel Python Bindings

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

Metadata

Release files for openbabel 2.4.0

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 2.4.0
File Size Uploaded Provenance Actions
openbabel-2.4.0.tar.gz 74.4 kB Without provenance Details for openbabel-2.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for openbabel 2.4.0
File Actions
openbabel-2.4.0-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details for openbabel-2.4.0-cp35-cp35m-win_amd64.whl
openbabel-2.4.0-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details for openbabel-2.4.0-cp35-cp35m-win32.whl
openbabel-2.4.0-cp35-cp35m-macosx_10_11_x86_64.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.11+ x86-64 Details for openbabel-2.4.0-cp35-cp35m-macosx_10_11_x86_64.whl
openbabel-2.4.0-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details for openbabel-2.4.0-cp34-cp34m-win_amd64.whl
openbabel-2.4.0-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details for openbabel-2.4.0-cp34-cp34m-win32.whl
openbabel-2.4.0-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details for openbabel-2.4.0-cp27-cp27m-win_amd64.whl
openbabel-2.4.0-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details for openbabel-2.4.0-cp27-cp27m-win32.whl
openbabel-2.4.0-cp27-cp27m-macosx_10_11_x86_64.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.11+ x86-64 Details for openbabel-2.4.0-cp27-cp27m-macosx_10_11_x86_64.whl

Total release size: 5.7 MB

Release files / openbabel-2.4.0.tar.gz

Download URL openbabel-2.4.0.tar.gz
Size 74.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1a2f8abfef63faf238049c9c10ae42d0031a44802f428d721888fe1e0c26b367
BLAKE2b-256 checksum
How to use checksums
aeaf647b526abc984b4dbb92c170fb8052330036f66f9188f01c7a6170772c26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openbabel-2.4.0-cp35-cp35m-win_amd64.whl

Download URL openbabel-2.4.0-cp35-cp35m-win_amd64.whl
Size 730.0 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
839c34fbd144d00f47f88c9cd88a8bdd2973d67a26108257f75a2c7f6c2776e7
BLAKE2b-256 checksum
How to use checksums
e4ac5a232012b06c05f33ed0b09e736d6e93479491be6418e279d4d14c4aaa0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openbabel-2.4.0-cp35-cp35m-win32.whl

Download URL openbabel-2.4.0-cp35-cp35m-win32.whl
Size 529.9 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
cc8588b91bf950bd56f9ce37121d90a7d7f11e7dc79abe6c90f060e5f35e7487
BLAKE2b-256 checksum
How to use checksums
80fd48436d0c173c24ec584589f301037fffe6be4acd6b02fb303cc6f96ebbbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openbabel-2.4.0-cp35-cp35m-macosx_10_11_x86_64.whl

Download URL openbabel-2.4.0-cp35-cp35m-macosx_10_11_x86_64.whl
Size 899.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.11+ x86-64
SHA-256 checksum
How to use checksums
c0fafbf6e92be8f5661fd76333bfca03ccdd142ac1bcaed6be242643c4ee7260
BLAKE2b-256 checksum
How to use checksums
0227ad7186bface39f076a2658ead15fea603101c40992524491f2f069f2d669
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openbabel-2.4.0-cp34-cp34m-win_amd64.whl

Download URL openbabel-2.4.0-cp34-cp34m-win_amd64.whl
Size 729.7 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
e2f688d22275232cf0117c424c8d6f2466c6b82fedee3cc517455ef3be079ac2
BLAKE2b-256 checksum
How to use checksums
25453c028047d525e149f0b8404d7cdbe85521d8c84edc8479e1a9ef5818fcd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openbabel-2.4.0-cp34-cp34m-win32.whl

Download URL openbabel-2.4.0-cp34-cp34m-win32.whl
Size 529.9 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
98905a928307fa425f5aa966cb901a613f243011015f75008017bf3a2e0013ff
BLAKE2b-256 checksum
How to use checksums
0c514708c4f562a64f7348becd2b72e1dcdc79a8a3ffd05f042bc8a999228549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openbabel-2.4.0-cp27-cp27m-win_amd64.whl

Download URL openbabel-2.4.0-cp27-cp27m-win_amd64.whl
Size 722.2 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
b3fe5d240f2ff7672b93df7278e3c06bffb5758838bae2e12030c34cdc5d163f
BLAKE2b-256 checksum
How to use checksums
5a1dd88ae45ac4216ebc96ad06d9f38dc5d697265d818ab056f5586cb1625d85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openbabel-2.4.0-cp27-cp27m-win32.whl

Download URL openbabel-2.4.0-cp27-cp27m-win32.whl
Size 532.2 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
2fda2f966deb231c66e088daeba5a3c366d9d11ab3717951447ddbdc90e5612b
BLAKE2b-256 checksum
How to use checksums
5a37942e55a00f80f2ebdab4c78c83f11445e1f98bf8914a28f3af195eab9a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / openbabel-2.4.0-cp27-cp27m-macosx_10_11_x86_64.whl

Download URL openbabel-2.4.0-cp27-cp27m-macosx_10_11_x86_64.whl
Size 903.6 kB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.11+ x86-64
SHA-256 checksum
How to use checksums
773b139f0aea33912cb2d45bc08e0e098e6d046da28261a9d70ba3772082f292
BLAKE2b-256 checksum
How to use checksums
6c7c1767429d25a0356867951530f071dcbd6e5605312418f7f5bb14bd46a510
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for openbabel 2.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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