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 Ext

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

Usage

from textwrap_ext 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_ext-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_ext-1.2.5-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: textwrap_ext-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_ext-1.2.5.tar.gz
Algorithm Hash digest
SHA256 a0cdb4555ac03bb16e3912c39c35a96098f9427dc7d490cc83ffbdbdf7779075
MD5 ec55e2cb0d7f1a0ee7b228d2dc1e03b2
BLAKE2b-256 73fc12dce12d74a5b98485367152b85fc41f14c5babf014f9d3f4535990eebaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: textwrap_ext-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for textwrap_ext-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b564801b9d7ab2c993ae1cacb80b8c5f16af45388d031c9916919645973afdf0
MD5 17d803a8e6b00de0c9f516a19a2cce7e
BLAKE2b-256 abb95f6e634911006f8b0210d9d22279cfd1654fbb6c4c58605294c60a16778a

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