Pure-Rust cheminformatics — SMILES, fingerprints, 70+ descriptors, pKa, ADMET
Project description
chematic
Pure-Rust cheminformatics library for Python — SMILES parsing, 70+ molecular descriptors, fingerprints, pKa prediction, and ADMET profiling.
Installation
pip install chematic
Quick Start
import chematic
mol = chematic.from_smiles("CC(=O)Oc1ccccc1C(=O)O") # aspirin
print(mol.mw) # 180.16
print(mol.logp) # 1.31
print(mol.tpsa) # 63.6
print(mol.qed) # 0.55
# pKa prediction
print(mol.pka()) # {"most_acidic": 3.49, "most_basic": None}
# ADMET profile
print(mol.admet())
# {"bbb": False, "bbb_score": ..., "caco2": ..., "herg_risk": ..., "cyp3a4_risk": ...}
# Fingerprints (bytes, 2048-bit ECFP4)
fp = mol.ecfp4()
# Tanimoto similarity
mol2 = chematic.from_smiles("c1ccccc1")
sim = chematic.tanimoto(mol.ecfp4(), mol2.ecfp4())
# All descriptors as a dict (for Pandas)
import pandas as pd
smiles = ["CCO", "c1ccccc1", "CC(=O)O"]
df = pd.DataFrame([chematic.from_smiles(s).descriptors() for s in smiles])
Features
- Zero C/C++ dependencies — pure Rust, no RDKit or OpenBabel required
- SMILES / MOL / SDF parsing and writing
- 70+ descriptors: MW, LogP, TPSA, QED, Fsp3, SA Score, and more
- 14 fingerprint algorithms: ECFP2/4/6, FCFP4/6, MACCS, AtomPair, Torsion, …
- pKa prediction (15 SMARTS rules — unique to chematic)
- ADMET profile: BBB, Caco-2, hERG, CYP3A4
- SMARTS substructure search
- SVG depiction for Jupyter notebooks
License
MIT OR Apache-2.0
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
Built Distributions
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 chematic-0.4.5.tar.gz.
File metadata
- Download URL: chematic-0.4.5.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7a68906e36cb30ca7fc352aa2356501f648d57f863bc502bccec98373727d30
|
|
| MD5 |
780fb19608668c9d78f062758f365ab0
|
|
| BLAKE2b-256 |
b6a986bdc441e1c4e7c00100f99787a3fee06ff8459d35c2c4a3ebf3da56d144
|
Provenance
The following attestation bundles were made for chematic-0.4.5.tar.gz:
Publisher:
publish-pypi.yml on kent-tokyo/chematic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chematic-0.4.5.tar.gz -
Subject digest:
f7a68906e36cb30ca7fc352aa2356501f648d57f863bc502bccec98373727d30 - Sigstore transparency entry: 1863550818
- Sigstore integration time:
-
Permalink:
kent-tokyo/chematic@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Branch / Tag:
refs/tags/v0.4.5 - Owner: https://github.com/kent-tokyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chematic-0.4.5-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: chematic-0.4.5-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 997.8 kB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6deeebee7c20fa978e1cb08c4d8c61d0e9f4eed67141316a6876eb88dd368da1
|
|
| MD5 |
bb7507838739629dc72862dd478c441c
|
|
| BLAKE2b-256 |
37e5a2b46a56195425011abe2b6d59bcf35e5d6c5b75a01cd8f5641d66a420f1
|
Provenance
The following attestation bundles were made for chematic-0.4.5-cp314-cp314-macosx_11_0_arm64.whl:
Publisher:
publish-pypi.yml on kent-tokyo/chematic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chematic-0.4.5-cp314-cp314-macosx_11_0_arm64.whl -
Subject digest:
6deeebee7c20fa978e1cb08c4d8c61d0e9f4eed67141316a6876eb88dd368da1 - Sigstore transparency entry: 1863551004
- Sigstore integration time:
-
Permalink:
kent-tokyo/chematic@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Branch / Tag:
refs/tags/v0.4.5 - Owner: https://github.com/kent-tokyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chematic-0.4.5-cp314-cp314-macosx_10_12_x86_64.whl.
File metadata
- Download URL: chematic-0.4.5-cp314-cp314-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.14, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eb744eb662fa313fdfd09f8730e2f834fa065e5ca77ec6fefd9ec1a20523c90
|
|
| MD5 |
d71989b572b8178ddb5555065de0f16a
|
|
| BLAKE2b-256 |
1f58ca290516bbc7cdde984364c518d6238b39f6dd804f1bf38dcbfd7ee19e3e
|
Provenance
The following attestation bundles were made for chematic-0.4.5-cp314-cp314-macosx_10_12_x86_64.whl:
Publisher:
publish-pypi.yml on kent-tokyo/chematic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chematic-0.4.5-cp314-cp314-macosx_10_12_x86_64.whl -
Subject digest:
3eb744eb662fa313fdfd09f8730e2f834fa065e5ca77ec6fefd9ec1a20523c90 - Sigstore transparency entry: 1863553508
- Sigstore integration time:
-
Permalink:
kent-tokyo/chematic@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Branch / Tag:
refs/tags/v0.4.5 - Owner: https://github.com/kent-tokyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chematic-0.4.5-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: chematic-0.4.5-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 866.4 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
682279fe8ad67c4ecf84262c7f4d6208bc58ca01c01a43485d41d36f04f2b6a8
|
|
| MD5 |
9d9e893a7b8eb183144d46cbefdb6532
|
|
| BLAKE2b-256 |
22d81fb7ba4772dfcddb95d6ffa77e447350bff0bc01a949bb2565364aab4b15
|
Provenance
The following attestation bundles were made for chematic-0.4.5-cp312-cp312-win_amd64.whl:
Publisher:
publish-pypi.yml on kent-tokyo/chematic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chematic-0.4.5-cp312-cp312-win_amd64.whl -
Subject digest:
682279fe8ad67c4ecf84262c7f4d6208bc58ca01c01a43485d41d36f04f2b6a8 - Sigstore transparency entry: 1863550892
- Sigstore integration time:
-
Permalink:
kent-tokyo/chematic@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Branch / Tag:
refs/tags/v0.4.5 - Owner: https://github.com/kent-tokyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chematic-0.4.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: chematic-0.4.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6783902461ae417c570ae6d15e59eaf8331d45e6cd6ae2f646a57cf037803d3e
|
|
| MD5 |
26848a0827700321fe4b68870f1ac66a
|
|
| BLAKE2b-256 |
05ac296237f50b8d49379f86b6ddc8d72b73b4899817edb6b090c7f00f0430c5
|
Provenance
The following attestation bundles were made for chematic-0.4.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
publish-pypi.yml on kent-tokyo/chematic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chematic-0.4.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
6783902461ae417c570ae6d15e59eaf8331d45e6cd6ae2f646a57cf037803d3e - Sigstore transparency entry: 1863552407
- Sigstore integration time:
-
Permalink:
kent-tokyo/chematic@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Branch / Tag:
refs/tags/v0.4.5 - Owner: https://github.com/kent-tokyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chematic-0.4.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: chematic-0.4.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98b4ae45134af5e60143133497ea0accba02e41f9120b7dd586ef31e5d3b7c46
|
|
| MD5 |
40df2445901cd8c485c45d1866158317
|
|
| BLAKE2b-256 |
3ab93706d6f35c6b0111383a20d0bdc932058480706aeb364738c4b5751cf186
|
Provenance
The following attestation bundles were made for chematic-0.4.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
publish-pypi.yml on kent-tokyo/chematic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chematic-0.4.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
98b4ae45134af5e60143133497ea0accba02e41f9120b7dd586ef31e5d3b7c46 - Sigstore transparency entry: 1863551180
- Sigstore integration time:
-
Permalink:
kent-tokyo/chematic@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Branch / Tag:
refs/tags/v0.4.5 - Owner: https://github.com/kent-tokyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@2c098b0735de38b4014e906c8c5e0f13d9489591 -
Trigger Event:
push
-
Statement type: