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.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.2.2024.3.6
File Actions
smiles_fp-0.3.2.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.2.2024.3.6-cp312-cp312-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.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.2.2024.3.6-cp312-cp312-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.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.2.2024.3.6-cp312-cp312-macosx_11_0_arm64.whl
smiles_fp-0.3.2.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.2.2024.3.6-cp311-cp311-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.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.2.2024.3.6-cp311-cp311-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.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.2.2024.3.6-cp311-cp311-macosx_11_0_arm64.whl
smiles_fp-0.3.2.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.2.2024.3.6-cp310-cp310-manylinux_2_39_x86_64.whl
smiles_fp-0.3.2.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.2.2024.3.6-cp310-cp310-manylinux_2_34_aarch64.whl
smiles_fp-0.3.2.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.2.2024.3.6-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 3.3 MB

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

Download URL smiles_fp-0.3.2.2024.3.6-cp312-cp312-manylinux_2_39_x86_64.whl
Size 391.0 kB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
63054b162e9cdfcb5016872dc92a64d580f711e494880272e454a5075e92aa02
BLAKE2b-256 checksum
How to use checksums
11a7d630e7d5037b88941b9cc1b39307a7275da3156a23a3c468da4c8eb0b570
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.2024.3.6-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.2.2024.3.6-cp312-cp312-manylinux_2_34_aarch64.whl
Size 367.7 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
8a019533202c9106651f5db05a1c87a719c4eba194d05170522e9514e1731d9e
BLAKE2b-256 checksum
How to use checksums
ce9696e70cf669049c9495821293cf58ff10af8905c862ea98fa034dd2dc8438
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.2024.3.6-cp312-cp312-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.2.2024.3.6-cp312-cp312-macosx_11_0_arm64.whl
Size 338.6 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2d7bd6e68c3d4e3d9ec4e7c1ff838836d15f414435b148fdfde5f1df649ab421
BLAKE2b-256 checksum
How to use checksums
6d8ffafd2ee333a667d64dac49f52661f73dccbadf9b05a89917c19a5fe886ad
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.2024.3.6-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.2.2024.3.6-cp311-cp311-manylinux_2_39_x86_64.whl
Size 386.9 kB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
109515d3689109e09776c12b8e75ce8b5a1b084328b010a76ff6c17f901eeedd
BLAKE2b-256 checksum
How to use checksums
7e31e61498595e2d29f22990c6687f6f9b169ff03fe531e6a30dac73d53ef524
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.2024.3.6-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.2.2024.3.6-cp311-cp311-manylinux_2_34_aarch64.whl
Size 365.2 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
284c50bebece92c83cb3d7dbbe72c74083ec37da559da935c4e1de6653862afe
BLAKE2b-256 checksum
How to use checksums
019817036972ea13fefc97428f6933a7feeb730069b250ecd21dd339b70bbde2
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.2024.3.6-cp311-cp311-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.2.2024.3.6-cp311-cp311-macosx_11_0_arm64.whl
Size 339.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c9877c885d851b3726c3f8f6f8ff16f02320034d43cf95378844399d515e7c65
BLAKE2b-256 checksum
How to use checksums
2a459dab1eb7d6ef9bad3d7eeb66392810239657e807ddf22d7d9b8bc147b3c9
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.2024.3.6-cp310-cp310-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.2.2024.3.6-cp310-cp310-manylinux_2_39_x86_64.whl
Size 387.0 kB
Tags CPython 3.10 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
71f00a84162281afa6686ab50bcde065fd274ace175e27c3b2332bbae6fa7c00
BLAKE2b-256 checksum
How to use checksums
28d539d0217895a609a37fcf58973bf0122442ddefa0c9fbd29d73cc544616d6
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.2024.3.6-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.2.2024.3.6-cp310-cp310-manylinux_2_34_aarch64.whl
Size 365.2 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
b034d2a6dc2d989f1005cc8e29767d781d81457da782c7d774b24ddf0c3f3401
BLAKE2b-256 checksum
How to use checksums
35b3a88fd2e6f7ebc1d5148db8f508ba1d2a8a138083707e0c3e8f12afd75c15
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.2024.3.6-cp310-cp310-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.2.2024.3.6-cp310-cp310-macosx_11_0_arm64.whl
Size 339.2 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b69e3e860b7f025d10068bd5dbefa141690c198a35e90633ca579d6dfb56f061
BLAKE2b-256 checksum
How to use checksums
f16670b2d7a2836507e21c6edc75c5dd6da9247944e99381e1cc01c0645f1e28
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.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.2.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