Skip to main content

A collection of chemoinformatics and machine-learning software written in C++ and Python

Project description

🔥 RDKit Python Wheels

This repository holds the code to build RDKit platform wheels for Linux, macOS, and Windows on Github Action and Circle CI. The wheels contain the compiled platform-specific dynamic libraries (*.so, *.dylib, and *.dll) and are available at PyPI. RDKit can easily be installed using

pip install rdkit

NOTE: Older versions of RDKit might be available at the rdkit-pypi PyPI repository (pip install rdkit-pypi). rdkit-pypi is the old name of this project at PyPI. Future RDKit versions will be available at the rdkit PyPI repository. Please update your dependencies, i.e., change rdkit-pypi to rdkit.

Please open an issue if you find something missing or not working as expected.

PyPI version shields.io PyPI download day PyPI download month PyPI download day GitHub Repo stars

Available Builds

OS Arch Bit Conditions 3.8 3.9 3.10 3.11 3.12 CI
Linux intel 64 glibc >= 2.17 (e.g., Ubuntu 16.04+, CentOS 6+, ...) ✔️ ✔️ ✔️ ✔️ ✔️ Github Actions
Linux aarch64 64 glibc >= 2.17 (e.g., Raspberry Pi, ...) ✔️ ✔️ ✔️ ✔️ ✔️ Circle CI
macOS intel 64 >= macOS 10.13 ✔️ ✔️ ✔️ ✔️ ✔️ Github Actions
macOS armv8 64 >= macOS 11, M1 hardware ✔️ ✔️ ✔️ ✔️ ✔️ Github Actions
Windows intel 64 ✔️ ✔️ ✔️ ✔️ ✔️ Github Actions

Installation

PIP

python -m pip install rdkit
python -c "from rdkit import Chem; print(Chem.MolToMolBlock(Chem.MolFromSmiles('C1CCC1')))"

Poetry

poetry add rdkit
poetry run python -c "from rdkit import Chem; print(Chem.MolToMolBlock(Chem.MolFromSmiles('C1CCC1')))"

Local builds on Linux

cibuildwheel requires patchelf (apt install patchelf)

python3 -m pip install cibuildwheel

git clone https://github.com/kuelumbus/rdkit-pypi.git
cd rdkit-pypi

CIBW_BUILD=cp38-manylinux_x86_64 python3 -m cibuildwheel --platform linux --output-dir wheelhouse --config-file pyproject.toml

Replace cp38-manylinux_x86_64 with cp39-manylinux_x86_64, cp310-manylinux_x86_64, cp311-manylinux_x86_64, or cp312-manylinux_x86_64 to build for different Python versions.

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

rdkit-2023.9.5-cp312-cp312-win_amd64.whl (21.1 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

rdkit-2023.9.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.3 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

rdkit-2023.9.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (33.5 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

rdkit-2023.9.5-cp312-cp312-macosx_11_0_arm64.whl (27.1 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

rdkit-2023.9.5-cp312-cp312-macosx_10_13_x86_64.whl (28.3 MB view hashes)

Uploaded CPython 3.12 macOS 10.13+ x86-64

rdkit-2023.9.5-cp311-cp311-win_amd64.whl (21.1 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

rdkit-2023.9.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

rdkit-2023.9.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (33.6 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

rdkit-2023.9.5-cp311-cp311-macosx_11_0_arm64.whl (27.0 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

rdkit-2023.9.5-cp311-cp311-macosx_10_13_x86_64.whl (28.2 MB view hashes)

Uploaded CPython 3.11 macOS 10.13+ x86-64

rdkit-2023.9.5-cp310-cp310-win_amd64.whl (21.1 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

rdkit-2023.9.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

rdkit-2023.9.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (33.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

rdkit-2023.9.5-cp310-cp310-macosx_11_0_arm64.whl (27.0 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

rdkit-2023.9.5-cp310-cp310-macosx_10_13_x86_64.whl (28.2 MB view hashes)

Uploaded CPython 3.10 macOS 10.13+ x86-64

rdkit-2023.9.5-cp39-cp39-win_amd64.whl (21.1 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

rdkit-2023.9.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

rdkit-2023.9.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (33.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

rdkit-2023.9.5-cp39-cp39-macosx_11_0_arm64.whl (27.0 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

rdkit-2023.9.5-cp39-cp39-macosx_10_13_x86_64.whl (28.2 MB view hashes)

Uploaded CPython 3.9 macOS 10.13+ x86-64

rdkit-2023.9.5-cp38-cp38-win_amd64.whl (21.1 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

rdkit-2023.9.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

rdkit-2023.9.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (33.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

rdkit-2023.9.5-cp38-cp38-macosx_11_0_arm64.whl (27.0 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

rdkit-2023.9.5-cp38-cp38-macosx_10_13_x86_64.whl (28.2 MB view hashes)

Uploaded CPython 3.8 macOS 10.13+ x86-64

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