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)

All functions are described in DOCS.md.

License

MIT, see LICENSE.

Metadata

Release files for smiles-fp 0.3.3.2025.9.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for smiles-fp 0.3.3.2025.9.6
File Actions
smiles_fp-0.3.3.2025.9.6-cp314-cp314-manylinux_2_39_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.39+ x86-64 Details for smiles_fp-0.3.3.2025.9.6-cp314-cp314-manylinux_2_39_x86_64.whl
smiles_fp-0.3.3.2025.9.6-cp314-cp314-manylinux_2_34_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp314-cp314-manylinux_2_34_aarch64.whl
smiles_fp-0.3.3.2025.9.6-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp314-cp314-macosx_11_0_arm64.whl
smiles_fp-0.3.3.2025.9.6-cp313-cp313-manylinux_2_39_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.39+ x86-64 Details for smiles_fp-0.3.3.2025.9.6-cp313-cp313-manylinux_2_39_x86_64.whl
smiles_fp-0.3.3.2025.9.6-cp313-cp313-manylinux_2_34_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp313-cp313-manylinux_2_34_aarch64.whl
smiles_fp-0.3.3.2025.9.6-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp313-cp313-macosx_11_0_arm64.whl
smiles_fp-0.3.3.2025.9.6-cp312-cp312-manylinux_2_39_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ x86-64 Details for smiles_fp-0.3.3.2025.9.6-cp312-cp312-manylinux_2_39_x86_64.whl
smiles_fp-0.3.3.2025.9.6-cp312-cp312-manylinux_2_34_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp312-cp312-manylinux_2_34_aarch64.whl
smiles_fp-0.3.3.2025.9.6-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp312-cp312-macosx_11_0_arm64.whl
smiles_fp-0.3.3.2025.9.6-cp311-cp311-manylinux_2_39_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.39+ x86-64 Details for smiles_fp-0.3.3.2025.9.6-cp311-cp311-manylinux_2_39_x86_64.whl
smiles_fp-0.3.3.2025.9.6-cp311-cp311-manylinux_2_34_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp311-cp311-manylinux_2_34_aarch64.whl
smiles_fp-0.3.3.2025.9.6-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp311-cp311-macosx_11_0_arm64.whl
smiles_fp-0.3.3.2025.9.6-cp310-cp310-manylinux_2_39_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.39+ x86-64 Details for smiles_fp-0.3.3.2025.9.6-cp310-cp310-manylinux_2_39_x86_64.whl
smiles_fp-0.3.3.2025.9.6-cp310-cp310-manylinux_2_34_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp310-cp310-manylinux_2_34_aarch64.whl
smiles_fp-0.3.3.2025.9.6-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for smiles_fp-0.3.3.2025.9.6-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 6.0 MB

Release files / smiles_fp-0.3.3.2025.9.6-cp314-cp314-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp314-cp314-manylinux_2_39_x86_64.whl
Size 428.4 kB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
929a97a8b3f5ae51eb7f15f3ef2bd7b0eadeaaacf3db53a9b9528ed52a33140c
BLAKE2b-256 checksum
How to use checksums
4534c280d018624cf8cbf5bab5bd404a8eda7bbe8fe69ba085ee0111b1e34eb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp314-cp314-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp314-cp314-manylinux_2_34_aarch64.whl
Size 399.5 kB
Tags CPython 3.14 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
2ae8684211953e316bddc3911e52cba7bbefa0ad36922a01d425738bcbd24cf5
BLAKE2b-256 checksum
How to use checksums
2ac8332bdbb3b16625953082ea9b1ae68b3334f19935b989c22402affcce55b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp314-cp314-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp314-cp314-macosx_11_0_arm64.whl
Size 373.4 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7da1be4519001d279d14e6858f6c874b7f11bcb282514103af17f4f768e96f9f
BLAKE2b-256 checksum
How to use checksums
57db0e38ec35dd169bdcb94a0ddbe2ed97b3a675d96f61a5eb00c182a7e66dd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp313-cp313-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp313-cp313-manylinux_2_39_x86_64.whl
Size 432.1 kB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
f3f06394e2be6090e64a4cd5aa799af8b1ccf0b23cde67da82b29da87a416adb
BLAKE2b-256 checksum
How to use checksums
9f113978b282d529402beaeb9d1d71f2fba41f858ebb24f8e2d70b59f8646f06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp313-cp313-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp313-cp313-manylinux_2_34_aarch64.whl
Size 402.4 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
4beeec826dcb015b3d90e75b50553b3b258e25fd958bba07081d0d5b32f865c8
BLAKE2b-256 checksum
How to use checksums
5ad548cdff4692e4a02222f308e82378dae7d21219494d16a910b7d350af316b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp313-cp313-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp313-cp313-macosx_11_0_arm64.whl
Size 373.2 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6e2c16817132275e78f134c6fefc2ba7648075aad3464080f0279bc0dd085623
BLAKE2b-256 checksum
How to use checksums
e815188dd3bc31a87ce4ee37bb89494867b527fe5f50d4a4f4549bcd49bb1ea4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp312-cp312-manylinux_2_39_x86_64.whl
Size 432.0 kB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
14c9ded006723f15a20935dbd617edd2a1a4caa9d890976ae4e8ac3167b0ac03
BLAKE2b-256 checksum
How to use checksums
6a538e4c4c5bd17b385528a91dfbd50bba2db4b4987cc0df00c7833cf3e20e46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp312-cp312-manylinux_2_34_aarch64.whl
Size 402.2 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
7bf632b626e4cae3030a7c278f5ae3c3796f9e67d24c3f2643e2f523459ca7b6
BLAKE2b-256 checksum
How to use checksums
226b84bd2c16bac0d509f885eb9b04cdeb3ffbade5e9cdfe0103b57308e11cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp312-cp312-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp312-cp312-macosx_11_0_arm64.whl
Size 373.3 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6b33f9946fab5b7181b81ad2a329318f8dd8800bc43d55e06cb8b3fbb5dd2328
BLAKE2b-256 checksum
How to use checksums
082a3ba771a9d05fd6e3766f22c08d5dd07c6135ca66a31402671a31a59f4aa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp311-cp311-manylinux_2_39_x86_64.whl
Size 428.0 kB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
2b020c92d2ba2c3b45c1ec0742cb624821a03697d2d413d52c7091adf6e803e3
BLAKE2b-256 checksum
How to use checksums
22763bc33d7bda262c0a8b0df5337aa9bbf75a8af6d52361782aff9eefe29e42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp311-cp311-manylinux_2_34_aarch64.whl
Size 400.0 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
1a01a87c0d193e996051f5844b74ea00b6dfbe19cbc7e74e31d05215de7c6778
BLAKE2b-256 checksum
How to use checksums
02b27fe6cdd8100553a53b5aa42284340f36aa98ca2f50de24bdbb16a25ac9f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp311-cp311-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp311-cp311-macosx_11_0_arm64.whl
Size 374.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
35efe2690e97acf1caeb82b5b8b38adf1c8a678fdf884c09d4444dcafb56cd3d
BLAKE2b-256 checksum
How to use checksums
14a523577e7b0ae8c8e57d8b1f8e3341da2a750dbc78ae09e190fbd9f2beb5cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp310-cp310-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp310-cp310-manylinux_2_39_x86_64.whl
Size 428.2 kB
Tags CPython 3.10 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
67ad46493947b0d5a44c8f8d96a041429f3b9aaecb970d60e35ad6a05f2422f9
BLAKE2b-256 checksum
How to use checksums
218368aeecf2e5dd2c68eea93e737b5d19d48f752b4d2591aa3c404a82fc1d43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp310-cp310-manylinux_2_34_aarch64.whl
Size 400.2 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
b5de57286711f46ca4f3fea9cdbdfbd80c7e13152475c60e45b3d0a2d074c17f
BLAKE2b-256 checksum
How to use checksums
a89f113108d1aee7d0d7fc10e4e168b1d0f88c7517208fa8cce7ec6e80deec03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / smiles_fp-0.3.3.2025.9.6-cp310-cp310-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.3.2025.9.6-cp310-cp310-macosx_11_0_arm64.whl
Size 374.1 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2b25edc2cafb96a92c2b551efadd8d50f4348ac5895f9fe255ce4a36ecb08d53
BLAKE2b-256 checksum
How to use checksums
3464ab7d291f2f0ea22b99962916015963eb3ac095240ac8889994be4656a0ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for smiles-fp 0.3.3.2025.9.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 15 files in this release have been uploaded with provenance metadata.

Select from 15 files

Attestation for smiles_fp-0.3.3.2025.9.6-cp314-cp314-manylinux_2_39_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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