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

Total release size: 4.8 MB

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

Download URL smiles_fp-0.3.3.2024.9.6-cp313-cp313-manylinux_2_39_x86_64.whl
Size 433.3 kB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
69173ef448f8d86fe9ca5594cd2e8094cc26b8f7005e7339da2afa02738676ad
BLAKE2b-256 checksum
How to use checksums
8097cd7bd8976cd67a4750dae9df4555040758bc549dd3c57e27ca1e51163214
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.2024.9.6-cp313-cp313-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp313-cp313-manylinux_2_34_aarch64.whl
Size 402.1 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
5c534e66c5547b35bb3a86358b1753c5f62650345f6f0b422df2b3dd2eb84998
BLAKE2b-256 checksum
How to use checksums
399082f410f8198a27d1357b8d6ee95d472b5952f96b0e9ee0a90ac7aec698e8
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.2024.9.6-cp313-cp313-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp313-cp313-macosx_11_0_arm64.whl
Size 372.1 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
54f1764f58274a692cce0b0633ba11c7b9861afd9bcd8421014204eca48ab92b
BLAKE2b-256 checksum
How to use checksums
3a981acfab69b0ff26ce5212d14f3e7e0219be80f1f8a41168e239d0f39e97f6
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.2024.9.6-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp312-cp312-manylinux_2_39_x86_64.whl
Size 433.0 kB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
218663def0cc0b74447635b2fdc7b05e4cc60f6812dca4e408e94c0c0b680e0e
BLAKE2b-256 checksum
How to use checksums
8e890cb7eba7bffaa9151db24fcb5570d86349b09432144e241857c67490a61f
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.2024.9.6-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp312-cp312-manylinux_2_34_aarch64.whl
Size 402.3 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
07eea4c1fc781fb4cb0f86ed86d52b9f61dd4442fcf017baa34fffa3961d2480
BLAKE2b-256 checksum
How to use checksums
3f2dfc103b65cb414ed341abcf2702d7db3109d5e0495c215af099309adfaf99
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.2024.9.6-cp312-cp312-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp312-cp312-macosx_11_0_arm64.whl
Size 372.2 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
09c29e640254de37e0912b422cee9ce566726717b56bf4ad066621b22e26502f
BLAKE2b-256 checksum
How to use checksums
da1f905c9ebc0d2a562167d92e306556d17f8781545a4c69582210945fa43060
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.2024.9.6-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp311-cp311-manylinux_2_39_x86_64.whl
Size 429.2 kB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
c05f93eb5cdcf7e9feb21f5d67f684995caec61dca491b77930eaf64e98df2a8
BLAKE2b-256 checksum
How to use checksums
75fb17504bc4682d28f6264e6f85fd9e21643d1af8580c293c0487257fd20fdf
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.2024.9.6-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp311-cp311-manylinux_2_34_aarch64.whl
Size 399.9 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
c14e00b2f63062129b77f42d693285590696f5d0143cfb398e31ce84bfc747f0
BLAKE2b-256 checksum
How to use checksums
53605108bb4b23a9090c82a49865e5033591415c381e9021a55365a3543bebdb
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.2024.9.6-cp311-cp311-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp311-cp311-macosx_11_0_arm64.whl
Size 372.9 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8efb5a941ce0d7ba2f77c1b86b6d9701f23e8811e5ee8c0b9f750aac62e62b97
BLAKE2b-256 checksum
How to use checksums
7d797e0c8ea43d21c6a4eebe133a0018c7a6aada23624be558f42e0dd8376424
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.2024.9.6-cp310-cp310-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp310-cp310-manylinux_2_39_x86_64.whl
Size 429.4 kB
Tags CPython 3.10 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
0857eef41af49c20d7a1dffa01cb978c6a5ad42e04a94d6bb42f373b08ae2d70
BLAKE2b-256 checksum
How to use checksums
b48bfe23bfd6cbfc1dc5663a7398222755a249f8ac2166ddec58a012cdaf8cff
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.2024.9.6-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp310-cp310-manylinux_2_34_aarch64.whl
Size 400.0 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
9d2ff0092957054ef8219122cff7435b942b6186f69cf66757a017b0dedca113
BLAKE2b-256 checksum
How to use checksums
b729a95c275fb72c4f98e09ec0c86f3f21daebbae3cabc5cd78f1752a3bc7446
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.2024.9.6-cp310-cp310-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.3.2024.9.6-cp310-cp310-macosx_11_0_arm64.whl
Size 373.0 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9338d3bef54e7def4289366570af9ee558ec5263abab8212c287215df3baee08
BLAKE2b-256 checksum
How to use checksums
4651f7434cb5aff38372a35592a25fb2abd3417b156776eac04f72d087a47638
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.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.3.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 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