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 details)

Uploaded Source

Built Distribution

File details

Details for the file invisibleroads-macros-text-1.1.2.tar.gz.

File metadata

  • Download URL: invisibleroads-macros-text-1.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.4

File hashes

Hashes for invisibleroads-macros-text-1.1.2.tar.gz
Algorithm Hash digest
SHA256 a7c4b45cd3b5064e9c22b136ca5a2a9f6700de9818ba1527d647f039336a431a
MD5 c4048a1754c64eed241be55be5eac7a9
BLAKE2b-256 8c8d39d34a9560bcaa64e7d721ec8403c0b2d309233696dcd805a237f134dd68

See more details on using hashes here.

File details

Details for the file invisibleroads_macros_text-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: invisibleroads_macros_text-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.4

File hashes

Hashes for invisibleroads_macros_text-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7907c060126b37bb970953ae3dd7fdc37c0970de101b7b3745ad93fdab69d7c0
MD5 856425d6700ab27a88ff5a2666307835
BLAKE2b-256 f1fa6da203fe6c064bb18e2dca24c50370d550ab8eaa697162b8a437bcbfca76

See more details on using hashes here.

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