Skip to main content

textwrapper

Wraps your text files to a given width (defaults to 72), without breaking words.

I use it to format AoC problems to python docstrings for my solutions repo.

I also use it for Daily Byte.

Installation

pip install textwrapper

Usage

textwrap path/to/file

Metadata

Release files for textwrapper 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for textwrapper 1.0.2
File Size Uploaded
textwrapper-1.0.2.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for textwrapper 1.0.2
File Interpreter ABI Platform
textwrapper-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / textwrapper-1.0.2.tar.gz

Download URL textwrapper-1.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1083bf881def7a046703ca1e82d6d1da33c4f4eb1de78814d4d56947fbd8874a
BLAKE2b-256 checksum
How to use checksums
43e1879d66d666336945045b24f60d332f521a2871f6508263f2450ec2bf350d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.5

Release files / textwrapper-1.0.2-py3-none-any.whl

Download URL textwrapper-1.0.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86851d7d30701d5cd4f24c8e79d04424573f28d615c95fee67d18ea431d5bc6d
BLAKE2b-256 checksum
How to use checksums
5c1045131179eb1ffa5092a172b562e60a23aec5220dba5f55d669599dc44ff2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page