Skip to main content

Shortcut functions for text operations

Project description

Shortcut Functions for Text Operations

Install

pip install invisibleroads-macros-text

Test

git clone https://github.com/invisibleroads/invisibleroads-macros-text
cd invisibleroads-macros-text
pip install -e .[test]
pytest --cov=invisibleroads_macros_text --cov-report term-missing tests

1.1

  • Add format_name, format_slug, title_conservatively
  • Update normalize_key to treat every non-character as a word separator
  • Update normalize_key to allow custom text processing via process_text

1.0

  • Restore compact_whitespace, normalize_key, unicode_safely

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

invisibleroads-macros-text-1.1.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

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