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 Toolkit

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-toolkit

Usage

from textwrap_toolkit 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_toolkit-1.2.2.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_toolkit-1.2.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file textwrap_toolkit-1.2.2.tar.gz.

File metadata

  • Download URL: textwrap_toolkit-1.2.2.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_toolkit-1.2.2.tar.gz
Algorithm Hash digest
SHA256 72a3c030b0993cf5ec162ef5a3e96b756196a7c2ef0d94f396b79c4727f2f549
MD5 1c51a0ecc772cc29ef43f8c80f9ba89b
BLAKE2b-256 8a672a94633ee7bf477c0d9ce5a69d89d1e58fbdd5f107482c9ecb08d7882411

See more details on using hashes here.

File details

Details for the file textwrap_toolkit-1.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for textwrap_toolkit-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44d6d84ab7329089cdeec75f988d018715c6b9f8e219d45eaff95e533d13455d
MD5 06cfc85005614d8467b3c301e47e7e75
BLAKE2b-256 2b7aeb78b90ca0b9ebbebb8ba991c7aeb55eef5289221ea192d78d9d4b65e772

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