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
The FLARE team's open-source library to disassemble Common Intermediate Language (CIL) instructions.

dncil is a Common Intermediate Language (CIL) disassembly library written in Python that supports parsing the header, instructions, and exception hand

MANDIANT 95 Jan 08, 2023
Dashboard to view a stock's basic information, RSI, Bollinger bands, EMA, SMA, sentiment analysis via Python

Your One And Only Trading Bot No seriously, we mean it! Contributors Jihad Al-Hussain John Gaffney Shanel Kuchera Kazuki Takehashi Patrick Thornquist

5 May 21, 2022
Korg Volca Sample uploader for linux.

GnuVolca Korg Volca Sample uploader for linux. GnuVolca Usage Installation Via virtualenv Usage Store all the samples you want to upload on an empty d

Gonzalo Rafuls 12 Oct 11, 2022
Runtime Type Checking in Python 3

typo This package intends to provide run-time type checking for functions annotated with argument type hints (standard library typing module in Python

Ivan Smirnov 26 Dec 13, 2022
PyDateWaiter helps waiting special day & calculating remain days till that day with Python code.

PyDateWaiter (v.Beta) PyDateWaiter helps waiting special day(aniversary) & calculating remain days till that day with Python code. Made by wallga gith

wallga 1 Jan 14, 2022
A program that takes Python classes and turns them into CSS classes.

PyCSS What is it? PyCSS is a micro-framework to speed up the process of writing bulk CSS classes. How does it do it? With Python!!! First download the

T.R Batt 0 Aug 03, 2021
Python Function to manage users via SCIM

Python Function to manage users via SCIM This script helps you to manage your v2 users. You can add and delete users or groups, add users to groups an

4 Oct 11, 2022
[arXiv 2020] Video Representation Learning with Visual Tempo Consistency

Video Representation Learning with Visual Tempo Consistency [Paper] [Project Page] News Full codebae is coming soon Pretained Models For now, we provi

DeciForce: Crossroads of Machine Perception and Autonomy 24 Nov 23, 2022
Airbrake Python

airbrake-python Note. Python 3.4+ are advised to use new Airbrake Python notifier which supports async API and code hunks. Python 2.7 users should con

Airbrake 51 Dec 22, 2022
Domoticz-hyundai-kia - Domoticz Hyundai-Kia plugin for Domoticz home automation system

Domoticz Hyundai-Kia plugin Author: Creasol https://www.creasol.it/domotics For

Creasol 7 Aug 03, 2022
github action test, because I dont know it.

mad-y testing testing pip install -r requirements.txt add the DISCORD_TOKEN value to your env vars. and run mad-y how to Deploy ` docker build -t mad-

Mit 1 Oct 29, 2021
Shopping-card - Shopping Card Project With Python

Shopping Card Project this application was built to handle problems with saving

moein98 1 May 06, 2022
Procedural 3D data generation pipeline for architecture

Synthetic Dataset Generator Authors: Stanislava Fedorova Alberto Tono Meher Shashwat Nigam Jiayao Zhang Amirhossein Ahmadnia Cecilia bolognesi Dominik

Computational Design Institute 49 Nov 25, 2022
A good Tool to comment on xmw

A good Tool to comment on xmw

1 Feb 10, 2022
Make discord server By Coding!

Discord Server Maker Make discord server by Coding! FAQ How can i get role permissons? Open discord with chrome developer tool, go to network and clic

1 Jul 17, 2022
ThinkPHP全日志扫描工具,命令行版和BurpSuite插件版

ThinkPHP3和5日志扫描工具,提供命令行版和BurpSuite插件版,尽可能全的发掘网站日志信息 命令行版 安装 git clone https://github.com/r3change/TPLogScan.git cd TPLogScan/ pip install -r requireme

119 Dec 27, 2022
🍕 A small app with capabilities ordering food and listing them with pub/sub pattern

food-ordering A small app with capabilities ordering food and listing them. Prerequisites Docker Run Tests docker-compose run --rm web ./manage.py tes

Muhammet Mücahit 1 Jan 14, 2022
Moleey Panel with python 3

Painel-Moleey pkg upgrade && pkg update pkg install python3 pip install pyfiglet pip install colored pip install requests pip install phonenumbers pkg

Moleey. 1 Oct 17, 2021
banking system with python, beginner friendly, preadvanced level

banking-system-python banking system with python, beginner friendly, preadvanced level Used topics Functions else/if/elif dicts methods parameters hol

Razi Falah 1 Feb 03, 2022
A collection of daily usage utility scripts in python. Helps in automation of day to day repetitive tasks.

Kush's Utils Tool is my personal collection of scripts which is used to automated daily tasks. It is a evergrowing collection of scripts and will continue to evolve till the day I program. This is al

Kushagra 10 Jan 16, 2022