Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chematic-0.4.7.tar.gz (2.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

chematic-0.4.7-cp313-cp313-win_amd64.whl (874.4 kB view details)

Uploaded CPython 3.13Windows x86-64

chematic-0.4.7-cp313-cp313-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

chematic-0.4.7-cp313-cp313-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

chematic-0.4.7-cp312-cp312-win_amd64.whl (874.8 kB view details)

Uploaded CPython 3.12Windows x86-64

chematic-0.4.7-cp312-cp312-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

chematic-0.4.7-cp312-cp312-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

chematic-0.4.7-cp311-cp311-win_amd64.whl (879.5 kB view details)

Uploaded CPython 3.11Windows x86-64

chematic-0.4.7-cp311-cp311-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

chematic-0.4.7-cp311-cp311-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

chematic-0.4.7-cp310-cp310-win_amd64.whl (879.7 kB view details)

Uploaded CPython 3.10Windows x86-64

chematic-0.4.7-cp310-cp310-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

chematic-0.4.7-cp310-cp310-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

chematic-0.4.7-cp39-cp39-win_amd64.whl (882.9 kB view details)

Uploaded CPython 3.9Windows x86-64

chematic-0.4.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

chematic-0.4.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

chematic-0.4.7-cp39-cp39-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

chematic-0.4.7-cp39-cp39-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 10.12+ x86-64

File details

Details for the file chematic-0.4.7.tar.gz.

File metadata

  • Download URL: chematic-0.4.7.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

Hashes for chematic-0.4.7.tar.gz
Algorithm Hash digest
SHA256 f5d1a756514dcaebb2d096a6d3b6aa797288b737351b3742b4b69e19d9e04267
MD5 208a578669b429b6df9a699e59ae1d8b
BLAKE2b-256 672138dd440e347b130b94cf5d0ea6b7bce4bf1684566dba2ede2214169e5e5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7.tar.gz:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.7-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 874.4 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chematic-0.4.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d5bc8d2eb70dc48ef3483a3056459bf54ba214d4434b4f8058239507c0e456f9
MD5 e22314826c45105a4f83b3381e92b610
BLAKE2b-256 40426cb35c2c8187364ebc1d628979537c6c37d89597c3919778f39c8241b3ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp313-cp313-win_amd64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87c9892f72d62033fce449bf67dab815d15d7084eefacd3185e9c9437001a192
MD5 9e12d6579fa09149b786d3c0414b884b
BLAKE2b-256 074fa5f0db271cea7de3c88ace13c635cbe297378e146e6a68f74356d7464cb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9ee4d5f929c6279ae9fdbe2a634f118709dfb63bf01002211312cfc9c5b98767
MD5 8dd9349ea573d9aab551889024b8f973
BLAKE2b-256 d609059d754bee180ebfef9612e1fb00dac727ce22857588ef8dc4c0a101cec7

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp313-cp313-macosx_10_12_x86_64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.7-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 874.8 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

Hashes for chematic-0.4.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2f5e48a1c3859883b8c161695c5c6853f0e1b50a83d6fe4ca1dcaf2d43573abc
MD5 fe37ee7a498bd5900fddd695279a4cef
BLAKE2b-256 c292c83eca2ca9c7284f61276ef0d7699687be23bf1e59292ceba0dee3bfda71

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp312-cp312-win_amd64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e277fef0ec38ca666de1120486877fa12db240fcae0ea9f22b2d35dd78c96c1
MD5 39b72d8393148f66fd5627b22c53b75e
BLAKE2b-256 54e1db16b69a74b0a1c1723d925d8be894a526bd5d974ac3dd5d35e404b14a49

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 99cfa38086db5d3c71a3765dfc45b29052e780455660ffe0cce42fcb4f25c9fa
MD5 c2dcbc49a82b8e10f3eecf7473355f05
BLAKE2b-256 f72460051aefb4ed9a979b6ddb42d1d5ef7727fae4166cfb445e78478ef07ea2

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp312-cp312-macosx_10_12_x86_64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.7-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 879.5 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chematic-0.4.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2806ca17775764e4e7956670ce312dfd6d950c71f354d74c2e4dd8cad60999ab
MD5 edb25a477e9690977441b832e87a75ed
BLAKE2b-256 a1209a3e13c5fb24262e21e836d79928889c1d8511c62aaf767115a711a809a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp311-cp311-win_amd64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1efe1990e7c81d18e78cf7bf1aed50acb6d4e2a20afff8a1f1c91227aa8a676c
MD5 9e6a3dd31d6693d500a1211c859bfbc7
BLAKE2b-256 27aaa1b2408873fa9fc6fb84970a8775225e345d337eca09f3127356ddbd5403

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 12d83d815a77a1b418c034416a788c3a2fac9eada3b32557baeb92872aee2200
MD5 09b1fd23356426336f4e702f4afebd9a
BLAKE2b-256 1dc838daaa2f0d4dc6f84f299739329b80b2e617c52a4ebef0525fcc7f34eb2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp311-cp311-macosx_10_12_x86_64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.7-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 879.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chematic-0.4.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 28e1d54e9255a71d97265a261f90a0476a8d1ea3b4dd7992456c947f5c47107f
MD5 411e907c198de7d4c1b6d5208d1cc786
BLAKE2b-256 82c08c6adcd920138c001b5a775ac41908603788c90b57b8a80c364705391794

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp310-cp310-win_amd64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e3e5017c865031ac722c7f3fad3d003a371bdee0df0be7e376f97fdb3bbb3346
MD5 e1a3a421bbbff79bdd8331a514f92a97
BLAKE2b-256 7229d4b12195bcacffb14c96fdc91eff720e5a4f221957c99c21fdbda2a1c0e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ed4a810a305357a72aecad2f4e8e456dbea21c26d39ad877ab76032500eaed27
MD5 45096b7e31dfcee0ad02e2df34a5382b
BLAKE2b-256 399b02c75f39087824586e68753dd289dedfe3bf5f00e71a0d3f929926f9c082

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp310-cp310-macosx_10_12_x86_64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.7-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 882.9 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chematic-0.4.7-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e3d99bbcb1a2d6a232ecb52aef094de89912d256300a770ee9e7f08eb8393dec
MD5 19cfa39ea0d349aeac74cd263288d6d4
BLAKE2b-256 952d9a9078cb993bda74ffcbe425c4ff54593024ea599aa3090a35ee619c5f1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp39-cp39-win_amd64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd598702a139abd230ed5946a76350fc346e3937585b928c679650518e89a8eb
MD5 834bf561aaf527fa410a026fa22938ae
BLAKE2b-256 44234d257268dc24971145a632464adcc93cbd3d90369fbf9c18bebedd9271b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e3ad6ddb792bdb3ba74fb1a329b8743cb1de496ec8c7ddbba065795e4977cecb
MD5 a8ee5bf5f0355d58f887e63122d53c9a
BLAKE2b-256 f32542e0d1edcadc7fcdab91415361898864c1ae5bf14f1018be375138e8ed65

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d53ad9b1226980d88e9ad61b64c11d46c2647b691c86ed3865e4d10d33780048
MD5 8a714e2653c44e95f5ef420720b14b4b
BLAKE2b-256 3e62dbeeb0e635aef7ebccfdeae6c8e440ffc395697abd0970f4cf66d7f15a37

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chematic-0.4.7-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.7-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b8d4065535da3ef06195766db0d77313e8fe7a29b765d3fafc6978dc0743280e
MD5 fef53616260573766a999d947cd804f1
BLAKE2b-256 ad5eee2bf99376e61dbc52899cfe11d730c8f6ce9d4cf6d69b86a234692bc52c

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.7-cp39-cp39-macosx_10_12_x86_64.whl:

Publisher: publish-pypi.yml on kent-tokyo/chematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page