Skip to main content

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) and Java 17 are 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 .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybacting-0.2.14.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybacting-0.2.14-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file pybacting-0.2.14.tar.gz.

File metadata

  • Download URL: pybacting-0.2.14.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pybacting-0.2.14.tar.gz
Algorithm Hash digest
SHA256 a7d30c81831533b955495057628a2f332349e2aeaccfcd548dd95f744df0cb71
MD5 cd6faf9022c95b758e523ac374d42037
BLAKE2b-256 44db0b1ce9c50a3b603a36a5eed522fd62734f00ad42a47295bece45c3dcb5d3

See more details on using hashes here.

File details

Details for the file pybacting-0.2.14-py3-none-any.whl.

File metadata

  • Download URL: pybacting-0.2.14-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pybacting-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 f573b03ccaf322e23ac9bd39980a8416fa91ff664961a184340d548e1c7a0b42
MD5 b78bf19ce60da8742357fc888988c5f0
BLAKE2b-256 204367ea33186651c8685141a2f17a1e3fe56685b7763c9902e95a13c09dca08

See more details on using hashes here.

Supported by

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