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.2025.9.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.2025.9.6-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.2025.9.6-cp314-cp314-macosx_11_0_arm64.whl (255.0 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

smiles_fp-0.2.1.2025.9.6-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.2025.9.6-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.2025.9.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.2025.9.6-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.2025.9.6-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.2025.9.6-cp312-cp312-macosx_11_0_arm64.whl (254.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

smiles_fp-0.2.1.2025.9.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.2025.9.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.2025.9.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.2025.9.6-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.2025.9.6-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.2025.9.6-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.2025.9.6-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c15059f2b4372ae949ed8afe12beee99314a0fbcc6caf5ecbe9c416368c7e686
MD5 6a2da235f373dd3b9d7ee5a533e1bf99
BLAKE2b-256 63d03e93a383c440fa30792acab2f0b5abc1da50c6268db4afa5ebd9b69bafb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp314-cp314-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 56f60ece474cc4dc490083364681e4514b7ce81212c7478ed4f8d99ac24c966c
MD5 e66014be02d641d084dd9b4404b0860b
BLAKE2b-256 9b750b3d51febd1069e5d3731741eaf05cab00738b3192c91a553d649505ac62

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d0027e0ea618926f645e69ea47ff6a2f7829fba2d5a42788aa73f0e8a0cd3bd
MD5 a9b6861a60e9e421c51a06a90165921f
BLAKE2b-256 adfd413970b6d0f215e966605a12657f0ec5ec200ed124fc04f91103872ed663

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f274e209cc88decc235a640c4af3daf1e178e263682ca63caa758d9a3e100a35
MD5 1fcb57a63302d1c5a58fed4b29cbd4c6
BLAKE2b-256 5dd3767d1df086bef6951446464042a3e0c903b42940ecbdeaaa570548f3de5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp313-cp313-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 606c86b9e83f9ef110d03bff46f2f83cfac021844ecdb3f3f9bf87b52c76f1c7
MD5 3c982d9d0f578e92425c0917e773cf58
BLAKE2b-256 31e59168edfccf738b8791c109bdd44ea92f96f3d73972537250d769b9d534d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e9afe127cbda9082989f46d196d0b5e3ddeeb4098d39fc23972e40afe6596adb
MD5 abb08c8cb4794dbfe3f86effa042f21e
BLAKE2b-256 53a9beaac75b95ac0c908a347efe7d3347cbb38e9a07f35d5bca01e65e7bb9a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 384f1f3d8434fc9552612bd7723c06ab7eefbb81998c14ff74f1baf0f99f3316
MD5 602f519e64dad213a28e0a1838a0b7d2
BLAKE2b-256 efaba901fb0872534e34dc683ea7ee16a34f919c54f7b4655bd226b605a66671

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 87ab5ef0018bf29ed2c1b9b40771768fbda8aefd902ccfddb9a2f21fbd51db0e
MD5 fb823b6c7400cc594f69dab7284acf1a
BLAKE2b-256 b395c5c52d9b0056b5965bbfb288ba711ac42ca3a56ac71133347a433d6b8894

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9852f0d5fbfa1d16b5ea84f576f2adff37c44a5f2d4b7874d4e22efd99e22bca
MD5 2905615d5d60639b03bafef47e837227
BLAKE2b-256 908a972aecb277a5294e52df6bc3e10ff67fa48821f2e2f50bc40a35ac87a6b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f648450cf37961b47cfd39c5502cdcf251390ff2185445ca395fdc44cb05ea23
MD5 8afbfe315452debe0a97f0dd2cd2fc37
BLAKE2b-256 847acf8172970da22a91def81d6c44cd153ec7f4e90f37422c0ad3c47f2a30e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp311-cp311-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 3f2da0d46d36ef4b8a0376c72bfdbbac5b46e92f201caa0038a1ce8027888728
MD5 870930e86821285ba5f1f5a6484449be
BLAKE2b-256 df0acdf29a23d4c30b4152462763f91127aec33dab90f96aec1ed67dceb24b9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6c79fb75068d880883a4d3f2863b3dfdd61e0fc19b56d41bbce5fde7b7445de7
MD5 91a282feefad3e01e28421a5a90613ee
BLAKE2b-256 8c54eda0eba73e778ba56a4299b890c0c777428af702d1b0851f75b67015ef10

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 47361da8502277674a1aab8942f294c0247ce0ba37e4a721078438c78cadbe05
MD5 6243fbbd870c72bd1c972db17405e382
BLAKE2b-256 5920be0bf22a0da366cef19d59c3628d8b0557d144a8a45522ab507ee2cdc5be

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp310-cp310-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp310-cp310-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 b13f0547a7e13fe36c7be658416633014cf7a2b3e677155901ef8f080497f86a
MD5 f7505540bb9296c4c98d4b959edf9177
BLAKE2b-256 8182baa058a24d111ff259d7e94f3251ab55d7bb11118035169a3fc5b2072fc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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.2025.9.6-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.9.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7327ac92b7ab19e2f478b4febe7192a845e8fd7050eb8e5f93286507492c85f2
MD5 9426719e3c824ebca6f10807edd1f692
BLAKE2b-256 fad281c85af8bf579b8c067893b417c8d18a95f2d537d6bb60a8248b12cdf6fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for smiles_fp-0.2.1.2025.9.6-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