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. It requires at least Python 3.9.

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 21 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/BlueObelisk/pybacting

Download and install from source in development mode:

$ git clone https://github.com/BlueObelisk/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.16.tar.gz (11.0 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.16-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybacting-0.2.16.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pybacting-0.2.16.tar.gz
Algorithm Hash digest
SHA256 77a165ec1443af66971d11861c35d97d3ae89f0216ac5f22eece391ebcb999e2
MD5 b1ee9fef9561107aa77a02b351d6c7e4
BLAKE2b-256 ea174726a59b0a6aff77f17c5a857fc3aa191ae7a30399cf90faf7d1a1f27354

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybacting-0.2.16-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pybacting-0.2.16-py3-none-any.whl
Algorithm Hash digest
SHA256 e12b7637706dbbe8c483bec75ef558ce883cec324c544416df3923b372dc372a
MD5 d80f678d0d39a4a3c8378c0a220b8d18
BLAKE2b-256 573048f164e37a1dec80b072209ab1c056e39a239b79b6e0b999bfaff0a83abc

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