## inchi()


Generate the standard InChI string of a geometry with RDKit.


Usage

``` python
inchi(
    geo,
    *,
    stereo=True,
)
```


## Parameters


`geo: Geometry`  
Geometry.

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


## Returns


`str`  
InChI string.


## Raises


`NotImplementedError`  
If the geometry contains a metal.

`GeometryConversionError`  
If no Lewis structure is consistent with the connectivity, charge, and spin.

`ValueError`  
If RDKit fails to generate an InChI.


## Examples

``` python
    >>> import autogeom
    >>> geo = autogeom.from_smiles("O")
    >>> autogeom.inchi(geo)
```

    'InChI=1S/H2O/h1H2'


## See Also

[from_inchi()](from_inchi.md#autogeom.from_inchi)  

[smiles()](smiles.md#autogeom.smiles)  

[formula()](formula.md#autogeom.formula)
