Polars has [parse_py_type_into_dtype](https://github.com/pola-rs/polars/blob/d95e343e04d47bcbeafc815a2d9855aa5099f1bb/py-polars/polars/datatypes/_parse.py#L72). It could be handy to have the same