## rd.inchi()


Write a standard InChI string.


Usage

``` python
rd.inchi(
    mol,
    *,
    stereo=True,
)
```


## Parameters


`mol: Mol`  
RDKit molecule.

`stereo: bool = ``True`  
Whether to include the stereo layers.


## Returns


`str`  
InChI string.


## Raises


`ValueError`  
If InChI generation fails.
