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.9.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.9-cp313-cp313-win_amd64.whl (896.4 kB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.12+ x86-64

chematic-0.4.9-cp312-cp312-win_amd64.whl (896.9 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.12+ x86-64

chematic-0.4.9-cp311-cp311-win_amd64.whl (900.7 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.12+ x86-64

chematic-0.4.9-cp310-cp310-win_amd64.whl (900.9 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.12+ x86-64

chematic-0.4.9-cp39-cp39-win_amd64.whl (903.4 kB view details)

Uploaded CPython 3.9Windows x86-64

chematic-0.4.9-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.9-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.9-cp39-cp39-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

chematic-0.4.9-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.9.tar.gz.

File metadata

  • Download URL: chematic-0.4.9.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.9.tar.gz
Algorithm Hash digest
SHA256 9f1fb5843b537994e09a8c81214ba0b5c95abf7cdceb6c4b8fac66b004bbcfb0
MD5 6cb9b57c3c5b137fc07005d67db11920
BLAKE2b-256 395190116397c0bfec28e18b6cb3426e298fce0313028d6edc36fb3bbd07b63d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9.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.9-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.9-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 896.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.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bb3c8135ed4f3c2e6dec483d50dec16e6949ac570731f5e3a9da0698e7512c68
MD5 9f7b482f6e3a0cf6d978d365fd1be74a
BLAKE2b-256 89a5fc3da498c24379acd74ff7e9433bcf622a1a4a4177c5e5a0de18a081bc0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3d3ac173ce3b5a42acfa937737c9774039b79fb58b7076b7f47a4a222e064284
MD5 ab6701edeb8623accd7128e692e08ca6
BLAKE2b-256 38b5331bed43526eb39137eda23ae1616b1b213f543d169355ff541f635a0b88

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5ac0557deaee36e2057b63980f731a9eab5154d4c87b2daff835b222d0019712
MD5 487ed1fe14167e139825c23776d1a689
BLAKE2b-256 8e1ea951c65cc6de2d39b3dd5abbd437a10864c47f49c4faaa0167cfee68b6b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.9-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 896.9 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.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0f97b98f2c0ad55007cea84318f5214f25244ef0c01dee32455542c7c5dab4d3
MD5 c88d150cde966ad63b929b45424969bc
BLAKE2b-256 b6443759e191044ef103ab90a6c012c38eedcb783049a3ef5ec6923dae335179

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e3dc172ba7a06ca54036ff39a2bb41d659b7123df1edf166acc9b8b8c0e3e00
MD5 70fe2bcc7ba1eb093c82c8519c39b3b1
BLAKE2b-256 f42345f85201b776fa8ad66c82f8ecc288cd5d6b47facd44739093dec93d1d82

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9eaa8d53e5fb9daf9d2b6d05bf5909e2892342eac99a2839096ae7affe3a0a29
MD5 9b3b7c304328e70655ae421340901cc5
BLAKE2b-256 62bac24d3e4e2bf4c52895b7a9e48386de18368295042d141653e921e5345273

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.9-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 900.7 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.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b7b44a8b2dc25718c4b0ea2b265277398537263fd22f1c3d54f0a0475a5e58f0
MD5 e6577b8bd705f61022cbbe4702d2f58c
BLAKE2b-256 9d546bc9c80af8f4697bec65aa94a873c378b4049dda40acad9417dea3e06c66

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c9ad061f6ade6a13846674fabec327507c8f58b817cb0ef2f115aaef30d72d2
MD5 c7b9b27f7b4696d0a4b1d3a0c8749b55
BLAKE2b-256 afb1d8905f1d448f266396efb6a98509a9cf834fe1593f68eb31725408ce4f81

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8e44027dfe5722ff550d04c57fa6f8ea06a02fa173bb33bd19cb708c95349332
MD5 c6e8d68361b4d0f01094ca8765434523
BLAKE2b-256 401c23f05a2100b5e4884f622590cb2bf83e6a2a5e85fa844fa9a77aa5135ef1

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.9-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 900.9 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.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b2f0d8217ee083ad5054c4b43edf30315cfaca91ce8b8e2a353e063efc274de8
MD5 43233ac066bc9ebbbdbdc883a9e797e2
BLAKE2b-256 b0853640814ee02dbad21c1c30f1f4e7ab0f6160e4239d3e5b16783178a466cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 50d75612b05e2376b4e6d3b63bc37563f9f944c0b7c71add3e53ca0cfab020b8
MD5 ff213739768137d4be8f95f31bdc26bc
BLAKE2b-256 1132788f5e17236f3d2a3e5b9fb2664a47bbcbe8cb96c3381658335c71b802f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c99114f10eb81eb689dd0d72881831f7f831505b0c10ffd28d71079f0f2813f5
MD5 f431240c7f74b25097cb13f22fec253a
BLAKE2b-256 010af64ddcee4e06ec96fdbcc4590918a6f8dbb9d0d09da3bc3099fe090483b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: chematic-0.4.9-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 903.4 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.9-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 df720ad2b6519a97feba4a0cef3966512a735947ddce0ea398b1c9edb17c23c2
MD5 157519056076da1c3934e0a81ed3b5a7
BLAKE2b-256 4537151865f6cfda3a76180126f940c180e868255eb89c60cf21497d3dbb2b86

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 add5542abf9ce49404f4562c1625c12ff83329c822e1173199177d9ead7ab332
MD5 d96c42021bca3caa1776ff72f5520096
BLAKE2b-256 6fd29ddc68240a13de37eb4517d7b54bf28dd001cb3773ac206d7bb301ab8531

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5cda49cf983946d7164b331b5e47c6fe364ad42ee3d4d7171f59257448738b88
MD5 1f2902cc8e5b4a0619d220747eabaa37
BLAKE2b-256 90048c23ddb26417d8e49f7b19a188bf97f51aed1b1fbc9629bbaae858a19cc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e7b02529f963ee6d416039fe6e1bd5734557796f5f7b99b03d7d376699e4f361
MD5 a49709c6332fd39b5d41016cbe853688
BLAKE2b-256 65d4eec2a9de1d2af95cf8e0cc76e7c0df62d9a868efdabc1b816ad241d35ce2

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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.9-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chematic-0.4.9-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 aebf8a64fad2899f71b8dedd24a00c17a50ebdb3c56babca0ba4089b4d7dc1c5
MD5 6de71b1e8e34e30b92b4f6515b023b83
BLAKE2b-256 34d250c99e3416a7eeea2cbb6322e303ffaf54f77b3906ad45474de3cf72e168

See more details on using hashes here.

Provenance

The following attestation bundles were made for chematic-0.4.9-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