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.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.4.2025.9.6
File Actions
smiles_fp-0.3.4.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.4.2025.9.6-cp314-cp314-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp314-cp314-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp314-cp314-macosx_11_0_arm64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp313-cp313-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp313-cp313-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp313-cp313-macosx_11_0_arm64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp312-cp312-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp312-cp312-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp312-cp312-macosx_11_0_arm64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp311-cp311-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp311-cp311-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp311-cp311-macosx_11_0_arm64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp310-cp310-manylinux_2_39_x86_64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp310-cp310-manylinux_2_34_aarch64.whl
smiles_fp-0.3.4.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.4.2025.9.6-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 7.1 MB

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

Download URL smiles_fp-0.3.4.2025.9.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
878fc9c41599c63dd2b0fa7d39567dec2a7307f720f6ffcd4db779c86f8e9546
BLAKE2b-256 checksum
How to use checksums
55ac0ad489c8fa039f7cfd44f1e6eef91a050624d04f6350fcd818eae7bb06a7
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.9.6-cp314-cp314-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.4.2025.9.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
24720cf3ea4e800346a6a552b2a01bf1b526cc4200ac62db12f355192da9ee83
BLAKE2b-256 checksum
How to use checksums
a7726229c927512232bc2ea09742498414492b6a718a2993cc5ca83ef4e1840e
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.9.6-cp314-cp314-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.4.2025.9.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
da37db79517f797b3e0e026d38051317f1efdada1fc7135ed30dfa4eabd337c4
BLAKE2b-256 checksum
How to use checksums
38144d2a5c2b97881cce8a0d5f40d01b8fbca568b3d236b623a5752e1744bbfb
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.9.6-cp313-cp313-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.4.2025.9.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
aaf45a2958e6c5076b834f55642dd0a39f269521feae16d34e1a8bd1fd0c2421
BLAKE2b-256 checksum
How to use checksums
ceddd52cfa24754d8f1d83e2541e4560a4812d38826d412fc86e20e2a6b90914
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.9.6-cp313-cp313-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.4.2025.9.6-cp313-cp313-manylinux_2_34_aarch64.whl
Size 469.0 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
0fa35b93084f552e9d80d2cdff8437880090e0ab8969162e9d4efee9e7d4afc7
BLAKE2b-256 checksum
How to use checksums
394705d10f584d5e72f3dc8479d1e50d7fa3d4a3a29738beb879a94c7d630e5f
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.9.6-cp313-cp313-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.4.2025.9.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
a10e2305d83b11a3f51c26ed14a0c3d17a9aba6c93f9bffbb546bda00103db5e
BLAKE2b-256 checksum
How to use checksums
b5d8f77dd1726e8519c2c20aa63487d0aef86ed0610de348567b31eb322fdf4c
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.9.6-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.4.2025.9.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
a34bde44be2807fb95db6e5e7253aa55e613acbda717cc26509e33839ae55b34
BLAKE2b-256 checksum
How to use checksums
154dde2862e63afda06767437139740e394b94779f86b52079ab5ef74e76af6e
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.9.6-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.4.2025.9.6-cp312-cp312-manylinux_2_34_aarch64.whl
Size 468.8 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
8c27206b6c1f32ad8385569316533a9e64bb0478c5ca0e04be7f7e6add976099
BLAKE2b-256 checksum
How to use checksums
8d4e51e78f116b941a5ab066bb214310a728b1a9dbbc59453dee0df0f90ed1cd
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.9.6-cp312-cp312-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.4.2025.9.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
751d681498f76d89d2245d23b4215b89f767c74f3fb45c1d4479c7259cd24221
BLAKE2b-256 checksum
How to use checksums
c52ef3d4ec213225f126298c0572ec8555158a03611bea05d8e084f84e50f199
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.9.6-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.4.2025.9.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
b5234fc9c7b0021bcc8e1fdcd0122f42a6a170aeaf234fcdc4ef6bff72d52410
BLAKE2b-256 checksum
How to use checksums
c5894bf5059813a3bd04385abe2def7fb4a82acb3931ee40f896f4a5308b4f0c
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.9.6-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.4.2025.9.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
9093bde963eed05cbd032e649fc99f5ed06c7f0699d758d1c10e7fa305c99f47
BLAKE2b-256 checksum
How to use checksums
ca106eea704a56a9abc322793d42a45e8c5df400697dbc882b437c862368df47
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.9.6-cp311-cp311-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.4.2025.9.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
ddab73575a70f7459331b1b6867b1c86fd010e16cc145248f2debd670d420158
BLAKE2b-256 checksum
How to use checksums
f037b12efa24df49a41656bef1cc82ac96fcad4c4434e476671f79416f7e2b93
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.9.6-cp310-cp310-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.4.2025.9.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
51226ce0b9137611c5eef924101c1db8d5e41576f678f537f16d9ccdaeda914e
BLAKE2b-256 checksum
How to use checksums
0a72eb1ec390bf9580b1bd18c9914c890e3b5d8da8c98ece107525b99d8496e3
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.9.6-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.4.2025.9.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
18d68843d2d5b6d322440a50ec7ee29c7032df185847ce6d8f24134b6f6d74d9
BLAKE2b-256 checksum
How to use checksums
694eb7787843033f661fd66fdd6bf18dd40db2eb987769f183a23a1f12a61a9d
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.9.6-cp310-cp310-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.4.2025.9.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
cb70248c49436297b42c3f36c6f8b731b444cafc705ba428dd00015469e885e8
BLAKE2b-256 checksum
How to use checksums
33fca564c1ab2367c651bd3b2a3724a05f19e0a0d2bb4588aa555a603275d7bf
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.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.4.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 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