{"library":"ansiwrap","type":"library","category":null,"description":"ansiwrap provides text wrapping capabilities similar to Python's standard `textwrap` module, but it is specifically designed to correctly handle strings that contain ANSI control sequences for colors and styles. It correctly calculates the effective length of a string by ignoring these non-printable control codes. The latest release is version 0.8.4, published in January 2019, indicating a maintenance-focused or slow release cadence.","language":"python","status":"maintenance","version":"0.8.4","tags":["text processing","ansi","colors","textwrap","terminal"],"last_verified":"Sat May 23","install":[{"cmd":"pip install ansiwrap","imports":["from ansiwrap import fill","from ansiwrap import shorten","from ansiwrap import ansilen","from ansiwrap import strip_color"]}],"homepage":null,"github":"https://github.com/jonathaneunice/ansiwrap","docs":null,"changelog":null,"pypi":"https://pypi.org/project/ansiwrap/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/ansiwrap/compatibility"}}