The pytextseg package provides functions to wrap plain texts: fill() and wrap() are Unicode-aware alternatives for those of textwrap standard module; fold() and unfold() are functions mainly focus on plain text messages such as e-mail.
It also provides lower level interfaces for text segmentation: LineBreak class for line breaking; GCStr class for grapheme cluster segmentation.
Install
See INSTALL.
For Other Language
- Perl
Unicode-LineBreak: http://search.cpan.org/dist/Unicode-LineBreak/
License
pytextseg is Copyright (C) 2012, by Hatuka*nezumi - IKEDA Soji.
It is free software; you can redistribute it and/or modify it under the terms of either:
the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or
the “Artistic License”.
See the COPYING and the ARTISTIC files for more details.
Release files for pytextseg 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytextseg-0.2.0.tar.gz | 212.3 kB | Details |
Release files / pytextseg-0.2.0.tar.gz
| Download URL | pytextseg-0.2.0.tar.gz |
|---|---|
| Size | 212.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37323b764589403e96560297e66f9094bf81b6bb533365d6e726f28f366ca3e0
|
|
BLAKE2b-256 checksum How to use checksums |
272c7cb4c5feebfcd5c3ab92fd142be9d36005503e80883df18c6ab1242609c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |