Module for text manipulation
Project description
This package provides handy routines for dealing with text, such as wrapping, substitution, trimming, stripping, prefix and suffix removal, line continuation, indentation, comment processing, identifier processing, values parsing, case insensitive comparison, and more. See the docs (linked in the badge above) for the detailed documentation and examples.
Layouts
One of the features of this package is the layouts module, which provides a simple example of translating keystrokes from one keyboard layout to another:
echo qwerty | python -m jaraco.text.to-dvorak ',.pyf echo "',.pyf" | python -m jaraco.text.to-qwerty qwerty
Newline Reporting
Need to know what newlines appear in a file?
$ python -m jaraco.text.show-newlines README.rst newline is '\n'
For Enterprise
Available as part of the Tidelift Subscription.
This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
Security Contact
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jaraco.text-3.10.0.tar.gz
.
File metadata
- Download URL: jaraco.text-3.10.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0rc2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 467ae869cd24d119045593852cc2ac4e910977740162955acfa96f354c1715e9 |
|
MD5 | 550a61cf6c7e94335514440247404436 |
|
BLAKE2b-256 | 2fd97b7b857b1e08ccca2370fa45c9c43425c90c993e78eff25a6ab1bff1efda |
File details
Details for the file jaraco.text-3.10.0-py3-none-any.whl
.
File metadata
- Download URL: jaraco.text-3.10.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0rc2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c512323b78128126e3eb1343aa7294c7fcfda05634af92b0c31f808a1e71415 |
|
MD5 | 67ab57452adf49165c666b6746f1b08c |
|
BLAKE2b-256 | b4fb0e94430845019309a0e8d3a686b68de8c2dfa0090787e8ba9b7e7fab8797 |