Installation

useful_rdkit_utils requires Python 3.11 or newer.

The most recent release can be installed from PyPI with:

$ pip install useful_rdkit_utils

The most recent code and data can be installed directly from GitHub with:

$ pip install git+https://github.com/PatWalters/useful_rdkit_utils.git

To install in development mode, use the following:

$ git clone https://github.com/PatWalters/useful_rdkit_utils.git
$ cd useful_rdkit_utils
$ pip install -e .

Extras

Everything in the API reference works from a plain install except for the pieces listed below, which need an optional dependency.

Extra

Brings in

Needed for

extras

click

the build_ring_dictionary command line tool

jupyter

IPython

the rd_* helpers in Jupyter, which configure RDKit’s notebook rendering. RDKit implements that on top of IPython.

all

click, IPython

both of the above

docs

the Sphinx toolchain

building this documentation

tests

pytest

running the test suite

Install one with, for example:

$ pip install useful_rdkit_utils[all]

Running the tests

Some of the tests download data from the internet and are marked network. To run everything else:

$ pip install -e .[tests,all]
$ pytest -m "not network"