Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rdkit

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdkit

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

  • 2024.3.5
  • PyPI
  • Socket score

Maintainers
2

🔥 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

OSArchBitConditions3.83.93.103.113.12CI
Linuxintel64glibc >= 2.28 (e.g., Ubuntu 18.04+, CentOS 6+, ...)✔️✔️✔️✔️✔️Github Actions
Linuxaarch6464glibc >= 2.28 (e.g., Raspberry Pi, ...)✔️✔️✔️✔️✔️Circle CI
macOSintel64>= macOS 10.13✔️✔️✔️✔️✔️Github Actions
macOSarmv864>= macOS 11, M1 hardware✔️✔️✔️✔️✔️Cirrus CI Actions
Windowsintel64✔️✔️✔️✔️✔️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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc