## smiles()


Generate the canonical SMILES string of a geometry with RDKit.


Usage

``` python
smiles(geo)
```


Stereochemistry perceived from the 3D coordinates is included, and hydrogens are implicit.


## Parameters


`geo: Geometry`  
Geometry.


## Returns


`str`  
SMILES string.


## Raises


`NotImplementedError`  
If the geometry contains a metal.

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


## Examples

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

    'CCO'


## See Also

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

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