Sometimes you just have to ask the right question. In all the excitement I forgot why I asked specifically this, but I duckducked "use maven central in python" and I ran into scyjava. The documentation was not extensive, but installed was the logical pip install scyjava. 

And the cool thing is, the Groovy code examples can be converted without big changes.

from scyjava import config, jimport

config.add_endpoints(

'io.github.egonw.bacting:managers-cdk:0.0.16'

)

workspaceRoot = "."

cdkClass = jimport("net.bioclipse.managers.CDKManager")

cdk = cdkClass(workspaceRoot)

print(cdk.fromSMILES("COC"))

The first two instructions are the equivalent of the @Grab in Groovy.
Text
Text
This blog deals with chemblaics in the broader sense. Chemblaics (pronounced chem-bla-ics) is the science that uses computers to solve problems in chemistry, biochemistry and related fields. The big difference between chemblaics and areas such as chem(o)?informatics, chemometrics, computational chemistry, etc, is that chemblaics only uses open source software, open data, and open standards, making experimental results reproducible and validatable. And this is a big difference!
About Me
About Me
Popular Posts
Popular Posts
Pageviews past week
Pageviews past week
1831
Blog Archive
Blog Archive
Labels
Labels
Loading
Dynamic Views theme. Powered by Blogger. Report Abuse.