Textwrap provides a set of functions for wrapping, indenting, and dedenting text. It wraps the Rust textwrap crate.
Textwrap
textwrap