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.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.2025.3.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.3.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.3.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.3.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.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.2025.3.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.3.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.3.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.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.2025.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.2025.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.2025.3.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.3.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.3.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.3.6-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 dc4f0d78049e853e07a44e5221398cbb4eca89150a829154413dd149741c4626
MD5 30b5e118a277796a90744e623400a70a
BLAKE2b-256 f0c499c727c8145e5290936fb71b880c0d073cf01c111befb4300831a639f34f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 94e95e21f5f6c7f115c7c17bd6926117e434269b38894f8603c7e35ee03ff3a8
MD5 666ffdbb46729724bf93c8772245f3cb
BLAKE2b-256 38a14bd3ffc5277e3cf42fcdb99ff623e5599dc8646a4282e072f99f690ee4e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 71fdbb015eed950c4db61e11721f4a9e9bd6a898485d6b345d7563abd8b9f34c
MD5 42be7ffe79869416fbe728c43162a8c4
BLAKE2b-256 bf92a627a0e6147d29864f621a39c3f49d9017640c937d764cfc176b95812839

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4612ee38b75d9d294919074c7c364506a5427e0f633c5ff4b751f96b5a962a84
MD5 924a41e17ac107351fd78d8c326fcd23
BLAKE2b-256 5da8b6887d590ebd5f8dc6609cae5d9ffd76f9f491f3e0fff6e0fda57f940eb0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 f539107f8449ba48130ff5dc83a5a95e520b6350165a43f27dd7fde2fab28e29
MD5 a459752a75937b32327da950e1915e4a
BLAKE2b-256 425298a576a37c43d6fd18c84db9e0b82df56502a09c2c266cc1c695170da6c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eaaa273339d68ac81df4b91bff5fe185d1b7235d9a1b8e88ff60032dcd2d7101
MD5 d4f160965d6ddcd862749f975cae0610
BLAKE2b-256 179e55d08dda87a58c9d3b8f61a52da87face15c8d362120e9b7543543916e8d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3d56edc9dc19f7d9ffac45f0151a26d2d04cc599fc99151651b15c708b0a6ea4
MD5 c23e606f911fcd61ff21b05b3bb79e4a
BLAKE2b-256 96404b5058fbfda24dfcfc34f80c5d336de4ed0462be500b9384f627552b082d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 c867ee98ea26d0b7a85ae8ccaa9beb10368ffee473f2536647c9a11c265e7124
MD5 71a3c99d9d188fa5f7aa00ce0dfcdf29
BLAKE2b-256 9c309570d57e8de9358cb0b3553e3acb8b9e4b4881a49728916162378c158fd4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d8b88dc3c87d2cd709d9b059ba9e72a99a429e3ed4c957ddcb75290a813c532e
MD5 04dee8e1ec0671734ec985b0d13f2f13
BLAKE2b-256 2ad5c003d4b28391a3a69725b0ef0dcee8d324040ecf4a6cd686f4991af1ac87

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d1aa4215578b5e4e8a4b78a7922355d8391058a2e227dac972e4208aa0334a63
MD5 d9dabbd96c053aa8b30305043d7bd44e
BLAKE2b-256 af8e28cf9711cb356d3b37206f253c1cc739c4305dcd8c29cd62ebb8d737f6ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 d6f2ac7020e5e6c830e65bc36553476f560d871f3d11aa3ae31e797df58028b3
MD5 8d2b1957fabd6142c234068df3468ec3
BLAKE2b-256 cc9d6d92ea983441cd66da955b72dbec974c07dde7e143becf2870da9cf60271

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2173fc47b4de4dbf9fffe0b13a5fe242cc13186997b546ed572f916f30ad6588
MD5 c1e4e8c7c718befcd4a147fddbaf8dff
BLAKE2b-256 70343287bde7357a478a5cefa5930f0b0f1e5d0605fe56362193d2a2facaffa4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1ad4a78687af7cc73374b344ef80fa53c9c4ecc54b3000bf80c892904b0935cc
MD5 76112fff25859e1ea53cd3825390fea3
BLAKE2b-256 51f2c2f35b43d5c125ab3a6cdba38b72bd8ebe0ef706b1f48eb6c003e0dd508d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp310-cp310-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 c67870eee461069488dda909e3aa11154b560999bb4d5a742fc57e7670b50fce
MD5 cc360b5c0534c4c2be0133cbea21b0c9
BLAKE2b-256 221c0ae1cdbeec1809a661b9517f68d1909ce367806ffd8111d15a91562079de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smiles_fp-0.2.1.2025.3.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8a97e6a947950e9ffe885b4948ab8157ac53cf84818901f9135870b64b0a02e1
MD5 954ff0e347880b0a96e4d8dcfa0cc9a5
BLAKE2b-256 4e1d1cd793542c10156a84d133ff7ec46dfeb851a5f61ddec16e3ac84e29535d

See more details on using hashes here.

Provenance

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