https://github.com/phoenixr-codes/wraptext
Improved text wrapping and filling.
https://github.com/phoenixr-codes/wraptext
Last synced: 23 days ago
JSON representation
Improved text wrapping and filling.
- Host: GitHub
- URL: https://github.com/phoenixr-codes/wraptext
- Owner: phoenixr-codes
- License: mit
- Created: 2025-02-14T23:40:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-15T00:37:26.000Z (over 1 year ago)
- Last Synced: 2025-02-15T01:25:28.049Z (over 1 year ago)
- Language: Python
- Homepage: https://pypi.org/project/wraptext/
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# wraptext: [textwrap][] Improved.
This package is a drop-in replacement for the [textwrap][] module in Python's standard library. Unlike
[textwrap][], `wraptext` correctly handles zero-width and full-wide Unicode characters as well as ANSI
escape sequences. These improvements enhance the usage of [textwrap][] when used in console
applications.
[textwrap]: https://docs.python.org/3/library/textwrap.html