## from_xyz_file()


Read a geometry from an xyz file (see [from_xyz_block](from_xyz_block.md#autogeom.from_xyz_block)).


Usage

``` python
from_xyz_file(
    path,
    *,
    charge,
    spin,
)
```


## Parameters


`path: str | Path`  
Path to the xyz file.

`charge: int`  
Total molecular charge.

`spin: int`  
Number of unpaired electrons.


## Returns


`Geometry`  
The parsed geometry.
