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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| textwrapper-1.0.2.tar.gz | 2.9 kB | Without provenance | Details for textwrapper-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| textwrapper-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for textwrapper-1.0.2-py3-none-any.whl |
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
|
Security for textwrapper 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.