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.4.tar.gz (5.6 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.4-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: textwrap_formatter-1.2.4.tar.gz
  • Upload date:
  • Size: 5.6 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.4.tar.gz
Algorithm Hash digest
SHA256 ea9d97ba42ce861f2a58f20f8724caa96441391bdf63670c981764f5e769eb17
MD5 9bc3872f0928e13e5ada86221f7612ae
BLAKE2b-256 e8d4dcf5429014089acf042fc869dc9a195f541be725a210c8ab4d398bf2b937

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for textwrap_formatter-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6ddceebe1aecbb24d71c6b7922a6ec163d991b6d853e6adcee26d273f0612063
MD5 997461853fd76890a36ac493ef9f8dd6
BLAKE2b-256 81d6f14e2b206aace4afc1b1cbfb1d3871fcdf4aa0e2a83f12fea1d162d2ad26

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