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 1.8.2

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

Release files / openbabel-1.8.2.tar.gz

Download URL openbabel-1.8.2.tar.gz
Size 75.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c9854a7b83ad337582547ed3ded6535b378b2b9bef6bc180f6a26a2df149b1a5
BLAKE2b-256 checksum
How to use checksums
41465572ceaf814ca86894cc7a0847da5e89fc359a2b0970a7015cb67163d64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for openbabel 1.8.2

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