A package for phytoChemicals classification
Project description
phytoClassifier
Python Classifier for plant secondary metabolites. PhytoClassifier is a database-based tool for classifying plant compounds.
Installing phytoClassifier
pip install phytoClassifier==1.0.0
# or
py -m pip install phytoClassifier==1.0.0
Example Usage
import phytoClassifier as pc
# get class by SMILES
cls = pc.getClassBySmiles("CC(C)CCCC(C)C1CCC2C1(CCCC2=CC=C3CC(CC(C3=C)O)O)C")
# get class by PubChem Id
cls1 = pc.getClassByCid("131")
# get class by InChICode
cls2 = pc.getClassByInchi("InChI=1S/C8H12NO6P/c1-5-8(11)7(3-10)6(2-9-5)4-15-16(12,13)14/h2,10-11H,3-4H2,1H3,(H2,12,13,14)")
# get class by InChIKey
cls3 = pc.getClassByInChiKey("HXVZGASCDAGAPS-UHFFFAOYSA-N")
# get class by Name !!Fuzzy search, deprecated! returns multiple entries.
cls4 = pc.getClassByName("Anthrapurpurin")
print(cls,cls1,cls2,cls3,cls4,sep="\n")
Python Dependencies
- sqlite3
- pkg_resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
phytoClassifier-1.1.0.tar.gz
(43.4 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phytoClassifier-1.1.0.tar.gz.
File metadata
- Download URL: phytoClassifier-1.1.0.tar.gz
- Upload date:
- Size: 43.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bec9dcaaab089f23930ed70faa7fdbb29f3ab203e0fe393a963c1ad9c12d656
|
|
| MD5 |
f1992c94d1ab1ad157ef2b22d9443194
|
|
| BLAKE2b-256 |
0923f506aa17b4e986e0cc68db1716fc06c4bff47a1be28437b8ef71be2cb9eb
|
File details
Details for the file phytoClassifier-1.1.0-py3-none-any.whl.
File metadata
- Download URL: phytoClassifier-1.1.0-py3-none-any.whl
- Upload date:
- Size: 43.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d0a81d02282beb065d4a936c97d0e22cfc4493310c5ea9d5e0d72c851b54c8
|
|
| MD5 |
09befbd1ee9846601bb4ef60e7b83ec3
|
|
| BLAKE2b-256 |
4c6a681b571888b7fe9ebee839500a1560996b92733fafba8131c9020e71eb2e
|