Skip to main content

A lightweight utility for advanced text wrapping and terminal alignment.

This project has been quarantined.

PyPI Admins need to review this project before it can be restored. While in quarantine, the project is not installable by clients, and cannot be being modified by its maintainers.

Read more in the project in quarantine help article.

Project description

Textwrap Formatter

A Python library designed to extend the capabilities of the built-in textwrap module. It provides additional controls for dynamic terminal widths, ANSI escape sequence handling, and structured log formatting.

Installation

pip install textwrap-formatter

Usage

from textwrap_formatter import format_block
print(format_block("Your long text here...", width=40))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textwrap_formatter-1.2.5.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textwrap_formatter-1.2.5-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file textwrap_formatter-1.2.5.tar.gz.

File metadata

  • Download URL: textwrap_formatter-1.2.5.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for textwrap_formatter-1.2.5.tar.gz
Algorithm Hash digest
SHA256 93bfb212065d8ff95233718eac4a1f155e135e8f0f086a96776e0adcdab8c5dc
MD5 e486ed1088cd278c1ff5ffec43c349a9
BLAKE2b-256 d1f02fc776458d96f2f07d12d8beac755d27a5ef571807847d84a5dbd6c954bb

See more details on using hashes here.

File details

Details for the file textwrap_formatter-1.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for textwrap_formatter-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4115e0cbb65eee8535e96f4be0b694cf79134178706fb74403c0570e09a18101
MD5 2e848c12a6c6efe05b8fbcbbee8133a8
BLAKE2b-256 f0b3bf9dba8998cb2f75c981bdd8af2b12acec8b9f52faf493f93791b00864ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page