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)

Or with progress bar:

mols = get_mols(smiles, verbose=True)
# Parsing SMILES:  42%|████▏     | 42000/100000 [00:01<00:01, 38000mol/s]

After an interrupt, results are discarded, but clean(..., inplace=True) keeps the molecules it already cleaned.

All functions are described in DOCS.md.

License

MIT, see LICENSE.

Metadata

Release files for smiles-fp 0.3.4.2025.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.4.2025.3.6
File Actions
smiles_fp-0.3.4.2025.3.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.4.2025.3.6-cp314-cp314-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.2025.3.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.4.2025.3.6-cp314-cp314-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.2025.3.6-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for smiles_fp-0.3.4.2025.3.6-cp314-cp314-macosx_11_0_arm64.whl
smiles_fp-0.3.4.2025.3.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.4.2025.3.6-cp313-cp313-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.2025.3.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.4.2025.3.6-cp313-cp313-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.2025.3.6-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for smiles_fp-0.3.4.2025.3.6-cp313-cp313-macosx_11_0_arm64.whl
smiles_fp-0.3.4.2025.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.4.2025.3.6-cp312-cp312-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.2025.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.4.2025.3.6-cp312-cp312-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.2025.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.4.2025.3.6-cp312-cp312-macosx_11_0_arm64.whl
smiles_fp-0.3.4.2025.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.4.2025.3.6-cp311-cp311-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.2025.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.4.2025.3.6-cp311-cp311-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.2025.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.4.2025.3.6-cp311-cp311-macosx_11_0_arm64.whl
smiles_fp-0.3.4.2025.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.4.2025.3.6-cp310-cp310-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.2025.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.4.2025.3.6-cp310-cp310-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.2025.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.4.2025.3.6-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 7.1 MB

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

Download URL smiles_fp-0.3.4.2025.3.6-cp314-cp314-manylinux_2_39_x86_64.whl
Size 505.3 kB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
bca6b4feeb634b65331b75c3baab696225ef0697555cf09c07d3af004751c41c
BLAKE2b-256 checksum
How to use checksums
79ee365060d7fb7400e3bf2c9f11047dc772b227bdd7a574d8bba7737b27d6ba
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp314-cp314-manylinux_2_34_aarch64.whl
Size 465.7 kB
Tags CPython 3.14 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
8b3a02ce5ab626ad20ce1b6f454b29fe24ac4ef6a281d8460f1bdd9de667642d
BLAKE2b-256 checksum
How to use checksums
c2fb467097c4137e45af9f3e9e6e34fac889e3f55f16eb673e8b32e4a769775c
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp314-cp314-macosx_11_0_arm64.whl
Size 437.2 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ed37151536b8829d8df7e7b241d1f919008de2b3b59a6ba709ba8797f34651dd
BLAKE2b-256 checksum
How to use checksums
b98a7478f3400c1e75f80e771e6f63e1785c95705e17b31a8af2565890289a41
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp313-cp313-manylinux_2_39_x86_64.whl
Size 509.3 kB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
1fc863b22f553e8d020c79cceac2dd17eb5eda8086ee84e5d0df2b30705df553
BLAKE2b-256 checksum
How to use checksums
11d34a3e0145d515a3c80a926fe2f79fc71b78f757ebe40e8fc506ec765c744c
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp313-cp313-manylinux_2_34_aarch64.whl
Size 469.1 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
574dc91de257ed13e62e8b94721837d79716114645cd814f9d2be6bad4c976e1
BLAKE2b-256 checksum
How to use checksums
b51569be57033140ced2fbcfa13b0899cc59fa694d1e245f1269ca8b56064785
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp313-cp313-macosx_11_0_arm64.whl
Size 437.0 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6ef99e3e4249e4ae4371a6a97139d21067238f4359110b704d965de6946b8531
BLAKE2b-256 checksum
How to use checksums
1bbf58225460b704cb17ee4b4d865d18faf9dd079c3df32ccb766c293b646dea
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp312-cp312-manylinux_2_39_x86_64.whl
Size 509.3 kB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
27efa8bb9af4ecb0dbf4ff543ab768e8d614d2492d1fa1b41ab08bb234d6a995
BLAKE2b-256 checksum
How to use checksums
5f1134eb3f0109c54dceea0beaaefb2123612dbf245a47ae9a6d6d542d44a028
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp312-cp312-manylinux_2_34_aarch64.whl
Size 468.9 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
7e52f2b1c6e266026f474d852fcfb14784f56750e40cdbc59a72b253623e9745
BLAKE2b-256 checksum
How to use checksums
cdfa4fc3714bb43ebbd5f8988d4219266253c25846e422cae2a192bdf18d254f
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp312-cp312-macosx_11_0_arm64.whl
Size 437.2 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
97782a2dd5e02014a614d21fa7dd683f8d0175d960463dbbf99bb1f9f7009477
BLAKE2b-256 checksum
How to use checksums
1850489a18adee1e812e0bc0ed27f11b47fd9a41257256aa19740ee7d32eefcf
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp311-cp311-manylinux_2_39_x86_64.whl
Size 505.5 kB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
231d920b2211f0845972ffa5c2f592fd2e92d54529b350f994526a82ed9db18d
BLAKE2b-256 checksum
How to use checksums
9cf49c71f52e1944da68701b246be8ff5b85c7e9988a41f974177b41f44c76b1
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp311-cp311-manylinux_2_34_aarch64.whl
Size 467.2 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
6553484a61b59d580392979594f3e75cc08cbca33f6bd2a6ac8b3d2a158665a6
BLAKE2b-256 checksum
How to use checksums
f50daa95fcd05d01cd229d15be3abb59d1c4fa1de89e47d25bf4989ca20e1f3c
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp311-cp311-macosx_11_0_arm64.whl
Size 438.8 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
67e89f02b8564734bcb5da853ba736d2977171001f5ed23f80d71986985e31ef
BLAKE2b-256 checksum
How to use checksums
5a633a8dcbf1a7cc83b2c9e05e61c2e6d0632a9d5eeb2c8a8846cc61f55fa37e
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp310-cp310-manylinux_2_39_x86_64.whl
Size 505.7 kB
Tags CPython 3.10 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
299c3e684b503db663195b89f894647029b2264730e343c68f1e21422981e80e
BLAKE2b-256 checksum
How to use checksums
b412b3f4022c56a260c3c63b55652d5988e9902c9a8c0b739fb18e47cdee3e5f
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp310-cp310-manylinux_2_34_aarch64.whl
Size 467.7 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
23c2302ecd3818dcdd06a51ec2d322c65d7a294aed6c8caa9391246dd8dadd3c
BLAKE2b-256 checksum
How to use checksums
9f074d650179fb0e7ee5294d0340c39b526b35f89285dc256c5a023afd012518
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 22, 2026.

Transparency log

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

Download URL smiles_fp-0.3.4.2025.3.6-cp310-cp310-macosx_11_0_arm64.whl
Size 439.0 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
584e68410b4eb4a63a85a34bc25ce81f0e5ff500c4af85d360fcb2559f982d2b
BLAKE2b-256 checksum
How to use checksums
73726451811e8249e92d3b5e7887aff252757ffd4eea9ba928f6a5e18b7f1541
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 22, 2026.

Transparency log

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

Select from 15 files

Attestation for smiles_fp-0.3.4.2025.3.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 22, 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