Skip to main content

Purchaseable SMILES filter

Project description

molbloom

Can I buy this molecule? Returns results in about 500 ns and consumes about 100MB of RAM (or 2 GB if using all ZINC20).

pip install molbloom
from molbloom import buy
buy('CCCO')
# True
but('ONN1CCCC1')
# False

If buy returns True - it may be purchasable with a measured error rate of 0.0003. If it returns False - it is not purchasable. If you want to look at the broader catalog of all molecules that are not in stock:

buy('CCCO', instock=False)

Reference is ZINC20 from October 2021. Add canonicalize=True if your SMILES are not canonicalized (requires installing rdkit).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

molbloom-0.1.5.dev1-cp310-cp310-musllinux_1_1_x86_64.whl (101.2 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

molbloom-0.1.5.dev1-cp310-cp310-musllinux_1_1_i686.whl (101.2 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

molbloom-0.1.5.dev1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (101.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

molbloom-0.1.5.dev1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (101.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page