A Python wrapper around Bacting

Overview

pybacting

Tests PyPI PyPI - License PyPI - Python Version 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 .
You might also like...
36 key ergo split keyboard, designed around the Seeeduino Xiao platform
36 key ergo split keyboard, designed around the Seeeduino Xiao platform

Slice36 Minimalist Split Keyboard 36 key ergo split keyboard, designed around the Seeeduino Xiao platform. Inspired by the Corne, Ferris, Ben Vallack'

Python wrapper to different clients to determine how a particular term is used.

Python wrapper to different clients to determine how a particular term is used.

A Python wrapper for Matrix Synapse admin API

Synapse-admin-api-python A Python wrapper for Matrix Synapse admin API. Versioning This library now supports up to Synapse 1.45.0, any Admin API intro

Xbps-install wrapper written in Python that doesn't care about case sensitiveness and package versions
Xbps-install wrapper written in Python that doesn't care about case sensitiveness and package versions

xbi Xbps-install wrapper written in Python that doesn't care about case sensitiveness and package versions. Description This Python script can be easi

🤖🧭Creates google-like navigation menu using python-telegram-bot wrapper

python telegram bot menu pagination Makes a google style pagination line for a list of items. In other words it builds a menu for navigation if you ha

An async API wrapper for Dress To Impress written in Python.

dti.py An async API wrapper for Dress To Impress written in Python. Some notes: For the time being, there are no front-facing docs for this beyond doc

A Python wrapper API for operating and working with the Neo4j Graph Data Science (GDS) library

gdsclient NOTE: This is a work in progress and many GDS features are known to be missing or not working properly. This repo hosts the sources for gdsc

An html wrapper for python

MessySoup What is it? MessySoup is a python wrapper for html elements. While still a ways away, the main goal is to be able to build a wesbite straigh

A simple wrapper for joy library
A simple wrapper for joy library

Joy CodeGround A simple wrapper for joy library to render joy sketches in browser using vs code, (or in other words, for those who are allergic to Jup

Comments
  • README instructions correct?

    README instructions correct?

    Following the README which writes:

    Download and install from source in development mode:
    
    ```shell
    $ git clone https://github.com/cthoyt/pybacting
    $ cd pybacting
    $ pip install --editable .
    

    ... I get this error:

    pybacting$ pip install --editable .
    ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/egonw/var/Projects/hub/pybacting
    (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
    
    opened by egonw 4
  • ScyJava does not pick up the correct dependencies

    ScyJava does not pick up the correct dependencies

    Eclipse had a dependency issue which they recently fixed, removing archives from Maven Central. Bacting 0.0.40 was updated, giving the fixed dependency tree:

    [INFO] |  \- io.github.egonw.bacting:bioclipse-core:jar:2.8.0.16:compile
    [INFO] |     +- org.eclipse.platform:org.eclipse.core.runtime:jar:3.25.0:compile
    [INFO] |     |  +- org.eclipse.platform:org.eclipse.osgi:jar:3.18.0:compile (version selected from constraint [3.17.0,4.0.0))
    [INFO] |     |  +- org.eclipse.platform:org.eclipse.equinox.common:jar:3.16.100:compile (version selected from constraint [3.16.0,))
    [INFO] |     |  +- org.eclipse.platform:org.eclipse.core.jobs:jar:3.13.0:compile (version selected from constraint [3.13.0,4.0.0))
    [INFO] |     |  +- org.eclipse.platform:org.eclipse.equinox.registry:jar:3.11.100:compile (version selected from constraint [3.11.0,4.0.0))
    [INFO] |     |  +- org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.10.1:compile (version selected from constraint [3.10.0,4.0.0))
    [INFO] |     |  |  \- org.osgi:org.osgi.service.prefs:jar:1.1.2:compile (version selected from constraint [1.1.0,1.2.0))
    

    Here, org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.10.1 is the fixed library (see https://github.com/eclipse-equinox/equinox.bundles/issues/54), but when installing pybacting it still depends on 3.10.0:

    [Error: ] Failed to execute goal on project managers-inchi-BOOTSTRAPPER: Could not resolve dependencies for project 
    io.github.egonw.bacting-BOOTSTRAPPER:managers-inchi-BOOTSTRAPPER:jar:0: Failed to collect dependencies at 
    io.github.egonw.bacting:managers-inchi:jar:0.0.40 -> io.github.egonw.bacting:bacting-core:jar:0.0.40 -> 
    io.github.egonw.bacting:bioclipse-core:jar:2.8.0.16 -> org.eclipse.platform:org.eclipse.core.runtime:jar:3.25.0 -> 
    org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.10.0 -> org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0):
    No versions available for org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0) within specified range -> [Help 1]
    

    Note how it does pick up org.eclipse.platform:org.eclipse.core.runtime:jar:3.25.0 but then is happy with the broken org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.10.0 where version 3.10.1 should be used instead.

    This leaves pybacting uninstallable for now. It is yet unclear how to fix this.

    opened by egonw 1
  • Update deps

    Update deps

    Closes #4 if new JGO is installed. Some of the artifacts were POM only and were excluded (see https://github.com/scijava/scyjava/issues/30#issuecomment-892061823). For the rest, I added the managers.

    opened by cthoyt 1
  • Enable importing all bacting build artifacts

    Enable importing all bacting build artifacts

    Blocked by https://github.com/scijava/scyjava/issues/30 and transitively https://github.com/scijava/jgo/issues/31#issuecomment-548056700

    To fix this, we'll have to wait for a new release of jgo which includes the finished PR https://github.com/scijava/jgo/pull/62. Then, the issue with scyjava will magically go away. This issue can be closed with an update to pybacting's setup.cfg file to include a minimum version of jgo

    opened by cthoyt 1
Releases(v0.2.9)
Owner
Charles Tapley Hoyt
Bio/cheminformatician, open scientist, maintainer of @pybel and @pykeen, part of @indralab (he/him)
Charles Tapley Hoyt
My Dotfiles of Arco Linux

Arco-DotFiles My Dotfiles of Arco Linux Apps Used Htop LightDM lightdm-webkit2-greeter Alacritty Qtile Cava Spotify nitrogen neofetch Spicetify Thunar

$BlueDev5 6 Dec 11, 2022
A patch and keygen tools for typora.

A patch and keygen tools for typora.

Mason Shi 1.4k Apr 12, 2022
ABT aka Animated Background Tool is a windows only python program that makes it that you can have animated background.

ABT ABT aka Animated Background Tool is a windows only python program that makes it that you can have animated background. 𝓡𝓔𝓐𝓓 𝓜𝓔, An Important

Yeeterboi4 2 Jul 16, 2022
Cairo-bloom - A naive bloom filter implementation in Cairo

🥀 cairo-bloom A naive bloom filter implementation in Cairo. A Bloom filter is a

Sam Barnes 37 Oct 01, 2022
Dump Data from FTDI Serial Port to Binary File on MacOS

Dump Data from FTDI Serial Port to Binary File on MacOS

pandy song 1 Nov 24, 2021
Data and analysis relating to the 5.8M Melbourne quake of 2021

quake2021 Data and analysis relating to the 5.8M Melbourne quake of 2021 Monash University Woodside Living Lab Building The building is located here T

Colin Caprani 6 May 16, 2022
Learning objective: Use React.js, Axios, and CSS to build a responsive YouTube clone app

Learning objective: Use React.js, Axios, and CSS to build a responsive YouTube clone app to search for YouTube videos, channels, playlists, and live events via wrapper around Google YouTube API.

Dillon 0 May 03, 2022
【AI创造营】参赛作品

-AI-emmmm 【AI创造营】参赛作品 鬼畜小视频 AiStuido地址:https://aistudio.baidu.com/aistudio/projectdetail/1647685 BiliBili视频地址:https://www.bilibili.com/video/BV1Zv411b

107 Nov 09, 2022
👀 nothing to see here

Woofy Woofy is blue dog companion token of YFI (Wifey) It utilizes a special Woof bonding curve which allows two-way conversion between the tokens. Th

Yearn Finance 36 Mar 14, 2022
LTGen provides classic algorithms used in Language Theory.

LTGen LTGen stands for Language Theory GENerator and provides tools to implement language theory. Command Line LTGen is a collection of tools to imple

Hugues Cassé 1 Jan 07, 2022
Simple logger for Urbit pier size, with systemd timer template

urbit-piermon Simple logger for Urbit pier size, with systemd timer template. Syntax piermon.py -i [PATH TO PIER] -o [PATH TO OUTPUT CSV] systemd serv

1 Nov 07, 2021
Age of Empires II recorded game parsing and summarization in Python 3.

mgz Age of Empires II recorded game parsing and summarization in Python 3. Supported Versions Age of Kings (.mgl) The Conquerors (.mgx) Userpatch 1.4

148 Dec 11, 2022
データサイエンスチャレンジ2021 サンプル

データサイエンスチャレンジ2021 サンプル 概要 線形補間と Catmull–Rom Spline 補間のサンプル Python スクリプトです。 データサイエンスチャレンジ2021の出題意図としましては、訓練用データ(train.csv)から機械学習モデルを作成して、そのモデルに推論させてモーシ

Bandai Namco Research Inc. 5 Oct 17, 2022
SiliconCompiler is an open source compiler framework that automates translation from source code to silicon.

SiliconCompiler is an open source compiler framework that aims to automate translation from source code to silicon.

siliconcompiler 539 Jan 04, 2023
For my Philips Airpurifier AC3259/10

Philips-Airpurifier For my Philips Airpurifier AC3259/10 I will try to keep this code

AcidSleeper 7 Feb 26, 2022
Tutor plugin for integration of Open edX with a Richie course catalog

Richie plugin for Tutor This is a plugin to integrate Richie, the learning portal CMS, with Open edX. The integration takes the form of a Tutor plugin

Overhang.IO 2 Sep 08, 2022
An kind of operating system portal to a variety of apps with pure python

pyos An kind of operating system portal to a variety of apps. Installation Run this on your terminal: git clone https://github.com/arjunj132/pyos.git

1 Jan 22, 2022
A Regex based linter tool that works for any language and works exclusively with custom linting rules.

renag Documentation Available Here Short for Regex (re) Nag (like "one who complains"). Now also PEGs (Parsing Expression Grammars) compatible with py

Ryan Peach 12 Oct 20, 2022
Streamlit — The fastest way to build data apps in Python

Welcome to Streamlit 👋 The fastest way to build and share data apps. Streamlit lets you turn data scripts into sharable web apps in minutes, not week

Streamlit 22k Jan 06, 2023
Код файнтюнинга оригинального CLIP на русский язык

О чем репозиторий В этом репозитории представлен способ файтюнить оригинальный CLIP на новый язык Почему модель не видит женщину и откуда на картинке

Valentina Biryukova 7 Feb 06, 2022