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.0.2024.3.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.0.2024.3.6
File Actions
smiles_fp-0.3.0.2024.3.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.0.2024.3.6-cp312-cp312-manylinux_2_39_x86_64.whl
smiles_fp-0.3.0.2024.3.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.0.2024.3.6-cp312-cp312-manylinux_2_34_aarch64.whl
smiles_fp-0.3.0.2024.3.6-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for smiles_fp-0.3.0.2024.3.6-cp312-cp312-macosx_11_0_arm64.whl
smiles_fp-0.3.0.2024.3.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.0.2024.3.6-cp311-cp311-manylinux_2_39_x86_64.whl
smiles_fp-0.3.0.2024.3.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.0.2024.3.6-cp311-cp311-manylinux_2_34_aarch64.whl
smiles_fp-0.3.0.2024.3.6-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for smiles_fp-0.3.0.2024.3.6-cp311-cp311-macosx_11_0_arm64.whl
smiles_fp-0.3.0.2024.3.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.0.2024.3.6-cp310-cp310-manylinux_2_39_x86_64.whl
smiles_fp-0.3.0.2024.3.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.0.2024.3.6-cp310-cp310-manylinux_2_34_aarch64.whl
smiles_fp-0.3.0.2024.3.6-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for smiles_fp-0.3.0.2024.3.6-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 2.8 MB

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

Download URL smiles_fp-0.3.0.2024.3.6-cp312-cp312-manylinux_2_39_x86_64.whl
Size 333.2 kB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
d49aa1df37abe8082b9900e381ff8dfec0ed261f0ac09f0c6ad1afde15993307
BLAKE2b-256 checksum
How to use checksums
8459ead35d867b8d3772fa786f5c3e01bd1d9288a1e2799907a6b2de32f6249c
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.0.2024.3.6-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.0.2024.3.6-cp312-cp312-manylinux_2_34_aarch64.whl
Size 315.3 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
9303bd6625b57ce323fffb5883bd9297320fe82d6052dd0ba8265e45a39f75ae
BLAKE2b-256 checksum
How to use checksums
238d804d4e8860ae5c0c3be670327f385eb196aa6ccdac9ec6ad703ec3a68979
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.0.2024.3.6-cp312-cp312-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.0.2024.3.6-cp312-cp312-macosx_11_0_arm64.whl
Size 290.5 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f5c5c34d175ec2f2ac6149eaefe82b36dffe15364be749cc64bc7a3675c5541b
BLAKE2b-256 checksum
How to use checksums
65ac88f1970bd1a0b5f6cc27eb82935accb954de5a618c82d0bd626459572687
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.0.2024.3.6-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.0.2024.3.6-cp311-cp311-manylinux_2_39_x86_64.whl
Size 329.4 kB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
6af60199a5195bcac282517a522044b3ad452468457a750c13e3fd40180b70c4
BLAKE2b-256 checksum
How to use checksums
743e7acc975cb38ae210301764f71ddba7865feff7143cf3a37cab5714b17d79
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.0.2024.3.6-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.0.2024.3.6-cp311-cp311-manylinux_2_34_aarch64.whl
Size 313.7 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
2f72695e205ecc3a83be77900cf4fb0b686732fdfd638ac7e946b45eac36b338
BLAKE2b-256 checksum
How to use checksums
f913e95e7b2fbbd2a10fe874676e89bfcc681013529cf8807a7b415eff523760
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.0.2024.3.6-cp311-cp311-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.0.2024.3.6-cp311-cp311-macosx_11_0_arm64.whl
Size 291.0 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6f6316e9934903079ceb57b4df466fc03c7074ccb77edd49db1fca97cf480eec
BLAKE2b-256 checksum
How to use checksums
8d822bb1cf1478fd0372eb7e16b8c4295c0589e96f34eabab5949b06a2e69fb8
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.0.2024.3.6-cp310-cp310-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.0.2024.3.6-cp310-cp310-manylinux_2_39_x86_64.whl
Size 329.6 kB
Tags CPython 3.10 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
e659ba5f56a2ca053bc2b252d3bdbbaaf7b6daa2f29e310adbc4a11d0375291b
BLAKE2b-256 checksum
How to use checksums
472137f1144564ef5716819d68398dda5278142b066a862c7889cfb3d2c3c15d
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.0.2024.3.6-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.0.2024.3.6-cp310-cp310-manylinux_2_34_aarch64.whl
Size 313.7 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
aa4a47077434906f6bb4b77ea9669421b04897c9641cda13151de4b4373607d5
BLAKE2b-256 checksum
How to use checksums
f9762fb0fc32beebcbf023ca08fbb1e4ef554242ccd18687a8a880cc59525256
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.0.2024.3.6-cp310-cp310-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.0.2024.3.6-cp310-cp310-macosx_11_0_arm64.whl
Size 291.0 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
18d2fe544f50ea3d14b599fcd8160bffe84c2a662e74b2f7397fcf35aee3676d
BLAKE2b-256 checksum
How to use checksums
d4f9bae3da3b8cf89059e4e2d56819391b18bd917fd429f910ec9163220e9613
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.0.2024.3.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 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for smiles_fp-0.3.0.2024.3.6-cp312-cp312-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