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.2026.9.2

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.2026.9.2
File Actions
smiles_fp-0.3.2.2026.9.2-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.2.2026.9.2-cp314-cp314-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.2026.9.2-cp314-cp314-manylinux_2_34_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ ARM64 Details for smiles_fp-0.3.2.2026.9.2-cp314-cp314-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.2026.9.2-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for smiles_fp-0.3.2.2026.9.2-cp314-cp314-macosx_11_0_arm64.whl
smiles_fp-0.3.2.2026.9.2-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.2026.9.2-cp313-cp313-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.2026.9.2-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.2026.9.2-cp313-cp313-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.2026.9.2-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for smiles_fp-0.3.2.2026.9.2-cp313-cp313-macosx_11_0_arm64.whl
smiles_fp-0.3.2.2026.9.2-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.2026.9.2-cp312-cp312-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.2026.9.2-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.2026.9.2-cp312-cp312-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.2026.9.2-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for smiles_fp-0.3.2.2026.9.2-cp312-cp312-macosx_11_0_arm64.whl
smiles_fp-0.3.2.2026.9.2-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.2026.9.2-cp311-cp311-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.2026.9.2-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.2026.9.2-cp311-cp311-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.2026.9.2-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for smiles_fp-0.3.2.2026.9.2-cp311-cp311-macosx_11_0_arm64.whl
smiles_fp-0.3.2.2026.9.2-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.2026.9.2-cp310-cp310-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.2026.9.2-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.2026.9.2-cp310-cp310-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.2026.9.2-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for smiles_fp-0.3.2.2026.9.2-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 5.5 MB

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

Download URL smiles_fp-0.3.2.2026.9.2-cp314-cp314-manylinux_2_39_x86_64.whl
Size 386.1 kB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
eece21325805da05de9da0c7ce03a21e60eed6c449dfc5ceb97f5df0e7eb6645
BLAKE2b-256 checksum
How to use checksums
e71e95c22f537d75d4855e14f04cab54cc753635a3461e693a5dc902b27c4f02
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.2026.9.2-cp314-cp314-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp314-cp314-manylinux_2_34_aarch64.whl
Size 363.3 kB
Tags CPython 3.14 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
d943588dfa1588861eaa9a9f1ec978427b5f3c3fee13c4818cb2f0a416624e70
BLAKE2b-256 checksum
How to use checksums
e51d65491e8902768e48329421e6a0667aac0a506f0fce0b1fd877fdf61ea513
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.2026.9.2-cp314-cp314-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp314-cp314-macosx_11_0_arm64.whl
Size 339.0 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0b6308a7d8f666db0e4b726d2798af4664745ca93ebf3ab349de7b03deb6e428
BLAKE2b-256 checksum
How to use checksums
3a471af47a09a6074a0b26e2285e94864846a41dac60e68a0ffe50030aed2ab3
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.2026.9.2-cp313-cp313-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp313-cp313-manylinux_2_39_x86_64.whl
Size 389.4 kB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
346b3bd1513e85d788036ae8c8e5f3e8f6e4191dc75cae47c1f16994774edaf3
BLAKE2b-256 checksum
How to use checksums
b9bf285d0f78cc45edc1d6151427df009c1f3ac48a5e3d7c8046accf178420ba
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.2026.9.2-cp313-cp313-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp313-cp313-manylinux_2_34_aarch64.whl
Size 365.5 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
9b2fe167d56f0262e7355fdca0bede66683e34c969adec32768eabe5d0323101
BLAKE2b-256 checksum
How to use checksums
9d58b00640f75d16839e41d980187428636abea35af73c3bac84b3975eb4514f
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.2026.9.2-cp313-cp313-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp313-cp313-macosx_11_0_arm64.whl
Size 338.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4ce072bf3d806b5f5b119eed0e16356e765905e5faf64a3255182cac72fe64ae
BLAKE2b-256 checksum
How to use checksums
ac9a41a5fe5bca39b9ab2a78e73d3f80673c4edcfefc209806dd208dec885d7c
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.2026.9.2-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp312-cp312-manylinux_2_39_x86_64.whl
Size 389.3 kB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
8124bc75743d99c6d4da92ee9d77ae20a75dab8e689daa5052344107627feec0
BLAKE2b-256 checksum
How to use checksums
ca77e1a2cf3adb08809322be50827226f75f8524f24b6676d95e45770c7ae336
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.2026.9.2-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp312-cp312-manylinux_2_34_aarch64.whl
Size 365.5 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
72b9a4f19935409a7f67c4e42b6ee9c49c85871adde4fc1390d4eaf9318c3d20
BLAKE2b-256 checksum
How to use checksums
7864d5d8f547bb734f3c6c6981617204c89b2342698a5b00faeb395f8ec20329
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.2026.9.2-cp312-cp312-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp312-cp312-macosx_11_0_arm64.whl
Size 338.9 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
27c75fa20c45966a2dba7df893018d5a20d3b824099f90150d209515ed35363f
BLAKE2b-256 checksum
How to use checksums
d7fbc640eae22ec0773aa9cc7eb690c2b8a98be4aa44ba74d9cd55aada64187a
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.2026.9.2-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp311-cp311-manylinux_2_39_x86_64.whl
Size 385.0 kB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
cc71121376a2e5b41bdb0e4835274de80734f7e07686830dcad431feaf274bc1
BLAKE2b-256 checksum
How to use checksums
16786ab16c416b3539fbea40ca180d09acfc129f179235a881caad1bca6d763d
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.2026.9.2-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp311-cp311-manylinux_2_34_aarch64.whl
Size 363.1 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
bc42d6abc51d332ac74139cbd744b9ef440e4559a6343dd9b0b49bb00804b690
BLAKE2b-256 checksum
How to use checksums
17626f72e6b94d007efe9d7bcd08dbca003edc0ba3c999cd27717f7be4c52df2
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.2026.9.2-cp311-cp311-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp311-cp311-macosx_11_0_arm64.whl
Size 339.5 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2d215a845a2e4aa2234851c0938b79605eaad56b45b5ebf64b4f06d534451e17
BLAKE2b-256 checksum
How to use checksums
f57204f7f24f48bf9ba16ac74da47be91e7eed8d1718d340fbbe1b0401ccab4a
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.2026.9.2-cp310-cp310-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp310-cp310-manylinux_2_39_x86_64.whl
Size 385.2 kB
Tags CPython 3.10 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
6ed0042ae42ebdcaf1a29b820d1632d5c7c80ac587c8fcedc28a71fd9bd504aa
BLAKE2b-256 checksum
How to use checksums
ce908db794df413f451f1435b45ff443d6d5af6b9ef96744aff1d1382354b841
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.2026.9.2-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp310-cp310-manylinux_2_34_aarch64.whl
Size 363.5 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
264abb6af97ca6ec1f116127d19500ea8065574e28e2ef60fbe9d5286e0cbc6e
BLAKE2b-256 checksum
How to use checksums
215050350f0859d81d3e7bf51973f4474ec90cb6c442e77de953db9f4282dc26
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.2026.9.2-cp310-cp310-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.2.2026.9.2-cp310-cp310-macosx_11_0_arm64.whl
Size 339.6 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3985c6b10898147a93062fc1539b574b1e1d3a8c126260cdcf9c8c9aad534295
BLAKE2b-256 checksum
How to use checksums
7a9546564114113e5ded7546d437c3000b9165f6097cd5ac87b70b88408e43b7
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.2026.9.2

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.2.2026.9.2-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 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