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

Total release size: 3.7 MB

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

Download URL smiles_fp-0.3.0.2024.9.6-cp313-cp313-manylinux_2_39_x86_64.whl
Size 333.4 kB
Tags CPython 3.13 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
800475ffc9b01dd91237f7925566a94f65a0c31db9bda6f94d67c710d8d08bc6
BLAKE2b-256 checksum
How to use checksums
09f8d17b638d0958a4287851aecd368c9203be3dd299df25f4c279bbc7e29134
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.0.2024.9.6-cp313-cp313-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp313-cp313-manylinux_2_34_aarch64.whl
Size 315.3 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
552e635c1591f3970854107f0d01b77b07970439ef64960fe888a283d428eaa3
BLAKE2b-256 checksum
How to use checksums
3dfc128eaffd7ce7e57a664627da93d0799a137effd029ecf878d5f36c8d2450
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.0.2024.9.6-cp313-cp313-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp313-cp313-macosx_11_0_arm64.whl
Size 290.4 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
daeadb25639f2f5a9b85c7906d387909c46e5ab58bbc2217ae506b0e7638d7e3
BLAKE2b-256 checksum
How to use checksums
e28447b0aae5fa1e8b6681ffe4ff263932af67fec44c500503f6c28f69473c7b
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.0.2024.9.6-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp312-cp312-manylinux_2_39_x86_64.whl
Size 333.3 kB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
19508fa8ebb18a41aaa02951f2c986a676f43bdb8efb0322dc659f6e8a76f737
BLAKE2b-256 checksum
How to use checksums
278e281325a487842c0407e67017d8c7a1a053768bfb49e221a1afb29626c6a1
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.0.2024.9.6-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp312-cp312-manylinux_2_34_aarch64.whl
Size 315.3 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
dde5ce77b2db0db0650582250b5cac18e4d669efe5de659781239bcd4abe6932
BLAKE2b-256 checksum
How to use checksums
5fd1db1f47ca5a13b7bd10d6b9bc5d5a0507ba220c9c1d6c5a691593019278b6
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.0.2024.9.6-cp312-cp312-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp312-cp312-macosx_11_0_arm64.whl
Size 290.5 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
18cd7f7e709577eb5274b17d5bd5a6e8afc72e3cc72e156d081133293193d78f
BLAKE2b-256 checksum
How to use checksums
70d28300633044b7a47ddd9ad31fdbfe346b3260fbda3f971b40864574303c2a
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.0.2024.9.6-cp311-cp311-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp311-cp311-manylinux_2_39_x86_64.whl
Size 329.4 kB
Tags CPython 3.11 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
ef211f04cb408473e64e84e3468c3cd34f4fa05e33327316e360cbd67e432631
BLAKE2b-256 checksum
How to use checksums
56053a44572aa3685d2978401ba2cb9b1251ff48a64b90ac0b4eeda42f5ba17e
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.0.2024.9.6-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp311-cp311-manylinux_2_34_aarch64.whl
Size 313.6 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
1bb02757c14237d04d6408ef43ca58e78cf00ecb71370fa025bfbc65add1623d
BLAKE2b-256 checksum
How to use checksums
1a6add8ced3088028cca6bb6d510bd58e112f3486d8d7423f2af95a311f98606
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.0.2024.9.6-cp311-cp311-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp311-cp311-macosx_11_0_arm64.whl
Size 291.0 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f5cb2a2cc82191909690420942286fb6e6e0a534494e83db39ce917d21f3f9fd
BLAKE2b-256 checksum
How to use checksums
9e68f5404d67c70b5ff49281b9a98eed978d56c1acd5611a375b49da9754f475
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.0.2024.9.6-cp310-cp310-manylinux_2_39_x86_64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp310-cp310-manylinux_2_39_x86_64.whl
Size 329.6 kB
Tags CPython 3.10 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
bf3e29ee3fd3ddc35c33d8874a74137dd6fc3ab2a02c57b4786e779646c2650d
BLAKE2b-256 checksum
How to use checksums
cc8658ba150dc6e109026e50d8c802355fa3571cc528e49a1910078aaf7f17df
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.0.2024.9.6-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp310-cp310-manylinux_2_34_aarch64.whl
Size 313.7 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
4d9e21b08dea7d6bd82e7b854bbf0b1ba2b82477d5cfdd4d05f9602fd944751e
BLAKE2b-256 checksum
How to use checksums
0d0b896ae2a51ad4b9f5d361aa8b4ef1e2a5411095c3bbb955016d39b6e77f0c
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.0.2024.9.6-cp310-cp310-macosx_11_0_arm64.whl

Download URL smiles_fp-0.3.0.2024.9.6-cp310-cp310-macosx_11_0_arm64.whl
Size 291.1 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d3c8f480c434d55f418150eb2d67a83ff91f6f6c227838b5687224d069959a03
BLAKE2b-256 checksum
How to use checksums
d8a7e17a1be68140b6e473fcee67e6ea8f79c2de960938586e50b1ea66a7ed62
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.0.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.0.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 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