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.

Metadata

Release files for smiles-fp 0.3.2.2024.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.2.2024.9.6
File Actions
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp313-cp313-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp313-cp313-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp313-cp313-macosx_11_0_arm64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp312-cp312-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp312-cp312-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp312-cp312-macosx_11_0_arm64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp311-cp311-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp311-cp311-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp311-cp311-macosx_11_0_arm64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp310-cp310-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp310-cp310-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.2024.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.2.2024.9.6-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 4.4 MB

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

Download URL smiles_fp-0.3.2.2024.9.6-cp313-cp313-manylinux_2_39_x86_64.whl
Size 391.1 kB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
2acaef1da0e1627a8e7e0969d6b9743fe6645805a4aa6be2b169f37e256e1ac4
BLAKE2b-256 checksum
How to use checksums
c70b6ad03fb13bb7acc9eb4c0ed51ced229611b321e4e4b9081817fcf879b6fb
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp313-cp313-manylinux_2_34_aarch64.whl
Size 367.9 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
5cb779740c3eb33e74fd0388dfe980e4edb3a98b37368587facc44a9d2cfe863
BLAKE2b-256 checksum
How to use checksums
d0a013be487389a417ecdf6f2ac5944c399ba1142a45c9f0360034e184ded9bc
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp313-cp313-macosx_11_0_arm64.whl
Size 338.5 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f71952d4c374771db51f77798b5fd052b4c3be13911e9be7e31103cc925b5671
BLAKE2b-256 checksum
How to use checksums
a6e9fb76ebc6806ac020e5d2eaefefff17d421bc19b326d1c4a11d0b47d24cc2
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp312-cp312-manylinux_2_39_x86_64.whl
Size 391.0 kB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
ba7aaab1541b013f0156cd7d93c2ce0ebeac90168f18f3eeb43f460dc1f07951
BLAKE2b-256 checksum
How to use checksums
124f0fad97a218574e7f1ece8588a566aa81780f6536d781692529adb29fac8f
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp312-cp312-manylinux_2_34_aarch64.whl
Size 367.7 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
0a138f2953961841aab99d1689207acd033d1690ebed5488d67d97da0d26a99d
BLAKE2b-256 checksum
How to use checksums
af46a0491c24c772938063c449989c0d74c481b14984522795eb2345c8a72508
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp312-cp312-macosx_11_0_arm64.whl
Size 338.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b467d1a77614c7b710c9bc54782a536f255ce731f381ba0e98923f9e2052607d
BLAKE2b-256 checksum
How to use checksums
d3112a3664bf808c7d3fd03899291212fee6fa9b7f76f3465df181856e45dc07
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp311-cp311-manylinux_2_39_x86_64.whl
Size 386.9 kB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
92018474d283381c79d1062f7ea2eed3772d07d218a2c5c49289f6e61fad19e4
BLAKE2b-256 checksum
How to use checksums
59e57f5e178e17234628815bf600ae4899f46a9fb6a0ce897c2f128648dc20d6
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp311-cp311-manylinux_2_34_aarch64.whl
Size 365.0 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
89f630a49afa2941cea943d3c1b248f7e90d431e2c8bdc3eb719dc3b7c7a1d43
BLAKE2b-256 checksum
How to use checksums
db873ce2c1669746761e7bfefe4a8840affb4e9d1b276cc49a2735de8c16c19f
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp311-cp311-macosx_11_0_arm64.whl
Size 339.2 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4d23a4807bc3a4f81b68d0b4e168491383edf5364b7652805d0889a35800446f
BLAKE2b-256 checksum
How to use checksums
77138577d7703173795cb9399ff4d7c1593b12bab377dc5e0de5266d0817698a
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp310-cp310-manylinux_2_39_x86_64.whl
Size 386.9 kB
Tags CPython 3.10 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
7c32a99bf2e5de3f7b43ae634546512dec8a4a849c4453090e95cd9531db537c
BLAKE2b-256 checksum
How to use checksums
5ddbfd6a8e8baed69887a1682d784755485e75c2da1b6263f022d1391d062166
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp310-cp310-manylinux_2_34_aarch64.whl
Size 365.2 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
5b8c9c31ebc858618c352e870591bc8937670964e732b807215fc00b0eece4e8
BLAKE2b-256 checksum
How to use checksums
0494aa2b087c7459a01bc503f46c899176fc77638b35ab0a65bdc4b8bf1b231c
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 16, 2026.

Transparency log

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

Download URL smiles_fp-0.3.2.2024.9.6-cp310-cp310-macosx_11_0_arm64.whl
Size 339.2 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
334b1361b2d69d860034fef8ef5fdf00fdc47a645907e69b2e1a976b067ed7d6
BLAKE2b-256 checksum
How to use checksums
452f6e34bc81127828f7576e10f51291fe8d41411fecf35109638e4d31e79f8c
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 16, 2026.

Transparency log

Security for smiles-fp 0.3.2.2024.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 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for smiles_fp-0.3.2.2024.9.6-cp313-cp313-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 16, 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