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
Metadata
Release files for invisibleroads-macros-text 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| invisibleroads-macros-text-1.1.2.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| invisibleroads_macros_text-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / invisibleroads-macros-text-1.1.2.tar.gz
| Download URL | invisibleroads-macros-text-1.1.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7c4b45cd3b5064e9c22b136ca5a2a9f6700de9818ba1527d647f039336a431a
|
|
BLAKE2b-256 checksum How to use checksums |
8c8d39d34a9560bcaa64e7d721ec8403c0b2d309233696dcd805a237f134dd68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / invisibleroads_macros_text-1.1.2-py3-none-any.whl
| Download URL | invisibleroads_macros_text-1.1.2-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7907c060126b37bb970953ae3dd7fdc37c0970de101b7b3745ad93fdab69d7c0
|
|
BLAKE2b-256 checksum How to use checksums |
f1fa6da203fe6c064bb18e2dca24c50370d550ab8eaa697162b8a437bcbfca76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|