Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

A python wrapper around bacting

Project description

pybacting

Tests PyPI PyPI - License PyPI - Python Version Documentation Status Code style: black DOI

Python wrapper around bacting.

Usage

Based on the example from the bacting page, you can do:

from pybacting import cdk

print(cdk.fromSMILES("COC"))

Or you can use some of the more pythonic functions that wrap the functions exposed through the pybacting.cdk object:

import pybacting

print(pybacting.from_smiles("COC"))

Installation

Before installing, you'll need to make sure Maven (mvn) is available on your path. If you're on mac, use brew install maven.

$ pip install pybacting

Install the latest code from GitHub:

$ pip install git+https://github.com/cthoyt/pybacting

Download and install from source in development mode:

$ git clone https://github.com/cthoyt/pybacting
$ cd pybacting
$ pip install --editable .

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page