eQuilibrator Cheminformatics
Light adapter classes around Open Babel, RDKit, and ChemAxon for the functionality needed in eQulibrator.
Install
Please note that while equilibrator-cheminfo as a pure Python package is operating system independent, the same is not true for the cheminformatics backends Open Babel, RDkit, or ChemAxon. While both Open Babel and RDKit nowadays provide Python wheels, we do not test them on all platforms.
RDKit
pip install equilibrator-cheminfo[rdkit]
or
Open Babel
pip install equilibrator-cheminfo[openbabel]
ChemAxon
If you wish to use ChemAxon, you need to install the software, acquire a license, and set the environment variable CHEMAXON_HOME.
pip install equilibrator-cheminfo[chemaxon]
Usage
The main feature in this package is a uniform class interface to molecules from Open Babel, RDKit, or ChemAxon. The interface is defined by the equilibrator_cheminfo.AbstractMolecule abstract class that the three concrete classes adhere to.
from equilibrator_cheminfo.chemaxon import ChemAxonMolecule
from equilibrator_cheminfo.rdkit import RDKitMolecule
from equilibrator_cheminfo.openbabel import OpenBabelMolecule
Some of the supported methods are:
mol = OpenBabelMolecule.from_smiles("CC=O")
mol.get_charge() # 0
mol.get_molecular_formula() # 'C2H4O'
mol.get_molecular_mass() # 44.05
mol.get_inchi_key() # 'IKHGUXGNUITLKF-UHFFFAOYSA-N'
You can also always access the cheminformatics backend object directly and pass it as an argument to functions directly imported from there.
mol.native # <openbabel.pybel.Molecule at 0x7f2a14b36c70>
mol.native.calcfp().bits # [330, 624, 671]
If there are general methods that you think are missing from the abstract interface, please say so in an issue.
Copyright
Copyright © 2021, Moritz E. Beber.
Free software distributed under the Apache Software License 2.0.
Metadata
Release files for equilibrator-cheminfo 0.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| equilibrator-cheminfo-0.15.0.tar.gz | 41.4 kB | Without provenance | Details for equilibrator-cheminfo-0.15.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| equilibrator_cheminfo-0.15.0-py3-none-any.whl | Python 3 | none | any | Details for equilibrator_cheminfo-0.15.0-py3-none-any.whl |
Total release size: 118.0 kB
Release files / equilibrator-cheminfo-0.15.0.tar.gz
| Download URL | equilibrator-cheminfo-0.15.0.tar.gz |
|---|---|
| Size | 41.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7014e7d73b3bedea40fec25453fbb9109bbf18f1a12f74d18e196512af10552
|
|
BLAKE2b-256 checksum How to use checksums |
d0066b62ba9e17fdbbe65f0efb839e2b226d1008ed62c9aeaf21be1ed23c8998
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
|
Release files / equilibrator_cheminfo-0.15.0-py3-none-any.whl
| Download URL | equilibrator_cheminfo-0.15.0-py3-none-any.whl |
|---|---|
| Size | 76.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
158bdc08d077e32f223497fd239f0714b202e54742a3e1c6be141e7303c9f734
|
|
BLAKE2b-256 checksum How to use checksums |
d8b30b0ec09c6954c66bdd90b867b456ed5a3573c41e9249e5d12f58ad2d7dc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
|
Security for equilibrator-cheminfo 0.15.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.