#cheminformatics #rd-kit #ffi

bin+lib rdk

Rust wrappers for the RDKit C++ front-end

1 unstable release

0.1.1 Apr 12, 2023

#520 in Science

MIT/Apache

44KB
1K SLoC

Rust 806 SLoC // 0.0% comments C++ 215 SLoC

rdk-rs

License Latest version Conda CI

Change Log

🚀 Getting started

rdk-rs looks for dynamically linked (.so) files in the $CONDA_PREFIX/lib/ directory within the conda installation of RDKit. To get up and running, simply run the following commands:

  1. 🐍 Install the latest conda distribution for your OS (we recommend mini/mambaforge)
  2. 📦 Create a conda environment that includes a stable version of RDKit by running the commands below and activate it. Feel free to change the environment name rdkit-env to whatever you want.
mamba create -c conda-forge python=3.8 -n rdkit-env
conda activate rdkit-env
conda install -c conda-forge rdkit 
  1. 🔗 Dynamically link the RDKit binaries we just downloaded, for example on Linux you would run the following:
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib/

NOTE: The conda environment containing the RDKit installation must be active for $CONDA_PREFIX to contain the right path.

Dependencies

~1.6–4MB
~70K SLoC