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_wheels.py builds wheels per RDKit release into a local index:

python smiles-fp-pypi/build_wheels.py 2024.9.6 2025.9.3 2025.9.6 2026.3.2
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.5-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.5-cp314-cp314-manylinux_2_34_aarch64.whl (273.9 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ ARM64

smiles_fp-0.2.1.2026.3.5-cp314-cp314-macosx_11_0_arm64.whl (255.0 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

smiles_fp-0.2.1.2026.3.5-cp313-cp313-manylinux_2_34_x86_64.whl (293.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

smiles_fp-0.2.1.2026.3.5-cp313-cp313-manylinux_2_34_aarch64.whl (276.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

smiles_fp-0.2.1.2026.3.5-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.5-cp312-cp312-manylinux_2_34_x86_64.whl (292.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

smiles_fp-0.2.1.2026.3.5-cp312-cp312-manylinux_2_34_aarch64.whl (275.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

smiles_fp-0.2.1.2026.3.5-cp312-cp312-macosx_11_0_arm64.whl (254.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

smiles_fp-0.2.1.2026.3.5-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.5-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.5-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.5-cp310-cp310-manylinux_2_34_x86_64.whl (288.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

smiles_fp-0.2.1.2026.3.5-cp310-cp310-manylinux_2_34_aarch64.whl (273.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ ARM64

smiles_fp-0.2.1.2026.3.5-cp310-cp310-macosx_11_0_arm64.whl (255.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c7f540fad99f390d4dafa8ad3325326d806248a3a5c7fb8fc23f1aa65ad06694
MD5 c12948bb60f91c780d781ecac7d5f054
BLAKE2b-256 09bccc8a31e96a21b20a6a0d309d4a1af5d999e364543472c7624eae24734bb3

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp314-cp314-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 d3fb74964d447c1eaaf37d5d63023df06cf1149d3842790a0c17187b4243904c
MD5 3a38377506bebe78f8c5a177ec85a37f
BLAKE2b-256 13e726a603bc3ed393b599dfbf2fece200af1fbdc615b18f15a3304aad770482

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8666f4f9d2efa914fe18125a4f7ad918a507b990e3fa408e5c0810fad93b140b
MD5 a90dfb8ca36783a87a9eb0ba8299320d
BLAKE2b-256 70a6285368adce4c99a3e7c3e91e0dd8f523af1a3820987bfbf8ac4b80e342ff

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 39cf51b5f1462a05fe512caa8fa49671dc153b84fbdcb48ceec681091f97b616
MD5 e074ec002647d90c9592e6387c46ca3b
BLAKE2b-256 9c15ffedf9aed5517ef7d4856584d8b3c12ed046e46705a4b955de5bddec2ab2

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp313-cp313-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 c854587890ed400850df808e4d174537570d82ae440b10475984b1cbdb4e0acf
MD5 c0fcc53ff3b73ea792b117083576e939
BLAKE2b-256 ef958782953bcfb259631f3baa90b67fce6880adc4bee6df3ec8ac2f74d37583

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9d4aa7ca0d7c7a8285f8f60f387c5cea3737bf920037093f8fc7e0aa938e2efe
MD5 ad730866020b072b94734df06499237e
BLAKE2b-256 3f6f23739a6a583bdcd0194965829f220cb7da21a3d2aa56d2c447f0e93b3672

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f5d4cebb1db22c89e34342ed45a6272be3f4fe43b410be1d7fc8a1950d221c3b
MD5 5f26393aaa56f6b7c55596bd4cf11b28
BLAKE2b-256 500d2ecd190523f4ab5bd54798d92bd0609dcd75cbb5d5c62599e623efefc3c2

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 6f0207d379f25a93fe2b4c5cd2b9169c92b61869d838d8a0507dce4b5892dc1d
MD5 4bb2806bc79a7ee6b1962e9e965efc4c
BLAKE2b-256 a205fc291f6188a9d09b22075faef078f5fa61e06f3adb87580bbd6f12769018

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 75ec3e02d513e0eb3c618a38294e46d2b6ff696aa76bae94693417be5536a827
MD5 13adea91d633e7180f605eb933dc790e
BLAKE2b-256 da5f05f54a76d943228920e93a8220cab0546aebe66ff80b4642e436eefbf0c6

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f477d14da1935f89754b9e9be95826ac5f2ab1d8b4dbd1b706bd58887a7194ee
MD5 8a3733b4c396d504127fc579447f4fd2
BLAKE2b-256 0d775bfd5240c894cdc4f9e5fb2cb632902e5ef0f359f390357855250299ca3c

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp311-cp311-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 6cbf98429f16d087ad607ee38c23b4864a67027170a3a358be81af664919111e
MD5 449300ac8b55424f9cc0449ac5e3e0bc
BLAKE2b-256 9d94dce4ef3dd51b06b9736094e8ea7ba535f929399ad717eecb95a6bde2edfb

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85452eaa9a4e1dbc1ddbc858fc9df0066e59728d93d7846011e0e0d3d5b0370d
MD5 a382e6e50711f793814af8c3761db48f
BLAKE2b-256 9b8d9518d38082f01ed87304131198c0b13794596c5358ab1bff7c6b4f548051

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 238f0662e3caee626c48506106606bb974bf38662cbd64142ed4ce6e996706b6
MD5 75afb668540d41babcc074f67f9c6707
BLAKE2b-256 77ff2f92a8ab326d8693ca4d081254e04c15ace6428110b1d392709e35f29047

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp310-cp310-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp310-cp310-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 dee7df0f061f62d90565383044fde7a0769cdf6e3a3e0e9e17f2e4d59cb3d502
MD5 854e91caba6617febadea57c37c309ae
BLAKE2b-256 0930ab152e99cd4957d30530c00eaced3f3959fe5fd041d29655ba7d4cb61147

See more details on using hashes here.

Provenance

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

Publisher: release.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.5-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2026.3.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 98b4df2cca03b304c81158d6464ffe4b8c8e70f453c0db54567236b76b12005a
MD5 10cfe690d0c091bb073aff0b05a5bc84
BLAKE2b-256 3809317917677859d01773d8931e853b12eac372a9619046948bdde8cc2620d2

See more details on using hashes here.

Provenance

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

Publisher: release.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