A print tool that wraps text to a specified width.
Usage:
from wrap_print import WrapPrint
wp = WrapPrint(20)
wp.print('12345678901234567890')
wp.print('This module provides access to', end='')
wp.print(' the Unicode Character Database (UCD)', end='')
wp.print(' which defines character properties', end='')
wp.print(' for all Unicode characters. The data contained', end='')
wp.print(' in this database is compiled from the UCD version 15.1.0.')
wp.print('這個模組提供了對 Unicode 字元資料庫(UCD)的存取,', end='')
wp.print('該資料庫定義了所有 Unicode 字元的字元屬性。', end='')
wp.print('這個資料庫中的資料是從 UCD 15.1.0 版本編譯而來的。')
Result:
12345678901234567890
This module provides
access to the Unico
de Character Databas
e (UCD) which define
s character properti
es for all Unicode c
haracters. The data
contained in this da
tabase is compiled f
rom the UCD version
15.1.0.
這個模組提供了對 Uni
code 字元資料庫(UCD
)的存取,該資料庫定
義了所有 Unicode 字元
的字元屬性。這個資料
庫中的資料是從 UCD 1
5.1.0 版本編譯而來的
。
It counts the CJK wide characters the fullwidth characters as 2 characters.
Metadata
Release files for wrap-print 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wrap_print-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for wrap_print-0.1.4-py3-none-any.whl |
Release files / wrap_print-0.1.4-py3-none-any.whl
| Download URL | wrap_print-0.1.4-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a109ed4e4e377dcefb1a3ae443c4f0d0b9bfcd38c87c82ee8ca4305a9dd66be
|
|
BLAKE2b-256 checksum How to use checksums |
b95118f95a4e1efe73d19f587b05200b7b94a0a1f44bc6ae3ba24d87e3bb28c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for wrap-print 0.1.4
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.