Skip to main content

smiles-fp

Rust-accelerated Tanimoto similarity search over RDKit Morgan fingerprints.

Prerequisites

  • Python 3.10 to 3.14.
  • RDKit, pinned to the version a given wheel was built against.
  • To build from source: a Rust toolchain and uv (RDKit/Boost headers are fetched automatically from PyPI, no conda required).

Installation

A wheel is published to PyPI per supported RDKit release, pin the RDKit version during installation:

uv pip install smiles-fp~=0.2.1 rdkit~=2024.0 # installs smiles-fp==0.2.1.2024.9.6 and rdkit==2024.9.6

To build locally instead, build_wheel.py builds one wheel for the RDKit version you pass it, targeting whichever Python interpreter runs the script (use uv run --python to pick one):

uv run --python 3.12 smiles-fp-pypi/build_wheel.py 2024.9.6
mv ./target/wheels ./target/smiles-fp
python -m http.server --directory ./target/
uv pip install smiles-fp --extra-index-url http://localhost:8000

Usage

from smiles_fp import get_mols, get_morgan_fps, save_fingerprints
from smiles_fp.search import similarity_search

query_ids = ["aspirin", "ethanol"]
mols = get_mols(["CC(=O)OC1=CC=CC=C1C(=O)O", "CCO"])
fps = get_morgan_fps(mols)
save_fingerprints(fps, "query.fp")

db_ids = ["ethylamine", "acetylsalicylic acid"]
db_mols = get_mols(["CCN", "CC(=O)OC1=CC=CC=C1C(=O)O"])
db_fps = get_morgan_fps(db_mols)
save_fingerprints(db_fps, "db.fp")

results = similarity_search(query_ids, "query.fp", db_ids, "db.fp", k=5)

License

MIT, see LICENSE.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

smiles_fp-0.2.1.2026.3.6-cp314-cp314-manylinux_2_34_x86_64.whl (290.1 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

smiles_fp-0.2.1.2026.3.6-cp314-cp314-manylinux_2_34_aarch64.whl (274.1 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ ARM64

smiles_fp-0.2.1.2026.3.6-cp314-cp314-macosx_11_0_arm64.whl (255.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

smiles_fp-0.2.1.2026.3.6-cp313-cp313-manylinux_2_34_x86_64.whl (293.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

smiles_fp-0.2.1.2026.3.6-cp313-cp313-manylinux_2_34_aarch64.whl (276.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

smiles_fp-0.2.1.2026.3.6-cp313-cp313-macosx_11_0_arm64.whl (255.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

smiles_fp-0.2.1.2026.3.6-cp312-cp312-manylinux_2_34_x86_64.whl (293.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

smiles_fp-0.2.1.2026.3.6-cp312-cp312-manylinux_2_34_aarch64.whl (276.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

smiles_fp-0.2.1.2026.3.6-cp312-cp312-macosx_11_0_arm64.whl (254.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

smiles_fp-0.2.1.2026.3.6-cp311-cp311-manylinux_2_34_x86_64.whl (288.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

smiles_fp-0.2.1.2026.3.6-cp311-cp311-manylinux_2_34_aarch64.whl (273.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ ARM64

smiles_fp-0.2.1.2026.3.6-cp311-cp311-macosx_11_0_arm64.whl (255.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

smiles_fp-0.2.1.2026.3.6-cp310-cp310-manylinux_2_34_x86_64.whl (288.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

smiles_fp-0.2.1.2026.3.6-cp310-cp310-manylinux_2_34_aarch64.whl (273.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ ARM64

smiles_fp-0.2.1.2026.3.6-cp310-cp310-macosx_11_0_arm64.whl (255.4 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 67161dc792c6679437965ef2e4029c3e88aa6597f128ea708669209ad7905a7c
MD5 72a2cf190c03745eb7b6241ea92da21d
BLAKE2b-256 2f3651b5052579c5fcabd3f8893025ea83fb43a16a6fdc339170b78b68f6c338

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp314-cp314-manylinux_2_34_x86_64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp314-cp314-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 a18a4007f0b737af68db0abbbfb045e5aed73c07df52327ecd69b3a8c67c1597
MD5 3c08bd1e5d7f571db8f74c3b7dcd3d70
BLAKE2b-256 76aec3620082237aab9a4306dadfcb602a552b7f3282f58086b496b607806279

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp314-cp314-manylinux_2_34_aarch64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3b0b8be4a205938765ea06e6964524e02d703ec04371df5907a19e3c4fb51d88
MD5 ff2e5ff72e7290fd9d1f0d72bb2cce17
BLAKE2b-256 019177ebc3ff857f3e14eed8847bfdb9906b861aa9d8cd34827d73a47e466a2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 387ff8398f5552746e81a515debd515952b89fcc26e6beb5189d213fb2d13226
MD5 27840c32b5e3c464f17afebb415948b1
BLAKE2b-256 cbc5ecc9574f56424dd729bdc4bc1dee7cded7d4774c62430ce0697510ab756b

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp313-cp313-manylinux_2_34_x86_64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp313-cp313-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 45b0cc0b293270c23aa0a25f453d918d8221e19c24643f134af2f4702d659a06
MD5 fc706ecb6e3aef7d49d3f7459b6dfd7e
BLAKE2b-256 16eea98de0630bdf8211b52d0442810078101a0908b7373da5f48c06dea34dd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp313-cp313-manylinux_2_34_aarch64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c365105f5cd6b6e9af1426557f904186f1557079ec5cb23c9866d75f2298087
MD5 c7c1a51fe810487e7282518b2699a08a
BLAKE2b-256 c75406945a46c428e7db9219e2aa50d91df48eb53b7c3717766d94b3f9a66f49

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 43e4f29d65d045edce81c2b81ac0a9d4f4797c2afe6dcfe6cbf16b5139afb503
MD5 10acb3d505694d340b87373b563fef2f
BLAKE2b-256 958285f3d1934aece8272c2008980c43aa2754bee9b1b905156e288eae99de78

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp312-cp312-manylinux_2_34_x86_64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 011686efdb4ef826828a47c6f354154120b1d989e732872cb3f8809644e25a9e
MD5 6134b4a58aef6ed58460610d5f74e847
BLAKE2b-256 718bc465d06f6e828e1697f69241d0e7f0425903ca6b4671730cc0e826e6c50b

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp312-cp312-manylinux_2_34_aarch64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 42dcf8a08d986a6fb46dc362fdfb78987539ef1c8c60e9cd0ba9055380d1027e
MD5 73291880bc4da1823c4e72448e0aaa2c
BLAKE2b-256 d8f0a500aa0d960915a685e8e11bfc1ff5bf69b6fbaf668606160a6e53fe1c30

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ce175ba971e0f09ac47094ea5c2e913ad470a5eb4b7e0330806d09402af0ec72
MD5 2e4efb1dedd280d150f7d8a2e8369568
BLAKE2b-256 ed09a4356a20eaa0216569c593cfae40c6372758bbd6bbb61d05212fea9f20a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp311-cp311-manylinux_2_34_x86_64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp311-cp311-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 f18976ba04a4cf5178a1c56c425f966d6095c60918ae4d226dc6d2a7d5d3fec3
MD5 9113edbc78db963616188217367c58df
BLAKE2b-256 6b2e660ee18ba4d869124851a413a9969b76eede078a6b7c0ef53397839e13b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp311-cp311-manylinux_2_34_aarch64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 182c9f69d903d6d280d9986721c3e4a1a15c6a121afd990504e3c776ad3ddb79
MD5 bb6a8ce9976467d1a851e9d36c0aa685
BLAKE2b-256 35fc8545f12f37fdbe121a9f3a0fea88ae85348914fb30a6ae0361aaa20d99fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e5b7b49316e970e4374145b75168a46517fe4ecaf29b9ba3b6d036df3c8a3514
MD5 aff8aacda5e3065493f003426cab52ee
BLAKE2b-256 e5e458ed76289803c1da4da380a6aaecd68ff99ba5aee1a1b9642908873d3a5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp310-cp310-manylinux_2_34_x86_64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp310-cp310-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp310-cp310-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 88ed31c550a91125d67e64788fbab6830a287f7f659c14f9dd3fe3862dd7773a
MD5 0627cff85bd90df3fb984e09ebdcd388
BLAKE2b-256 6d67d20a8cecbbbf6e97ae602e1bec7a7219af495362fa092502ab08d0f4af88

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp310-cp310-manylinux_2_34_aarch64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

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

File details

Details for the file smiles_fp-0.2.1.2026.3.6-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c7cd906712703516ea0fc3c1cead495eaebd6318824411f364079b4ca29d015a
MD5 1584da2de03a0bf4786f66b82208f885
BLAKE2b-256 00c0931055dbc1b54b43651a14d1d5578242eaaeda465263393f8fe9dd229fc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2026.3.6-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: update-rdkit-matrix.yml on audivir/smiles-fp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page