Skip to main content

Module for text manipulation

Project description

https://img.shields.io/pypi/v/jaraco.text.svg https://img.shields.io/pypi/pyversions/jaraco.text.svg tests Code style: Black https://readthedocs.org/projects/jaracotext/badge/?version=latest https://img.shields.io/badge/skeleton-2022-informational https://tidelift.com/badges/package/pypi/jaraco.text

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

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.

Learn more.

Security Contact

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaraco.text-3.8.1.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

jaraco.text-3.8.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file jaraco.text-3.8.1.tar.gz.

File metadata

  • Download URL: jaraco.text-3.8.1.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for jaraco.text-3.8.1.tar.gz
Algorithm Hash digest
SHA256 450957c3f8fb9a553d9d3e60738733ab1c5cc27b36a463342adb937e9a70ab3e
MD5 dcb2cad70d159c971ea1ec486fc91157
BLAKE2b-256 a3a838a9ee3492145b1e53b600a807e5bd929855b1157f527e36bf8aebcfd950

See more details on using hashes here.

Provenance

File details

Details for the file jaraco.text-3.8.1-py3-none-any.whl.

File metadata

  • Download URL: jaraco.text-3.8.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for jaraco.text-3.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e4418d632425d741b8f9128cdf8fd9c0c878dc1450a7430dbd4bf6296eeac915
MD5 08933d3082671fbbacda09d56958fc70
BLAKE2b-256 011197c34c287f801dc551c714eaff4274117e57a4201ca94c81d55e2fbf67b1

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page