misc for string
Project description
texting
misc for string
Functions
- has_ansi
- lange
- pad: lpad, mpad, rpad
- str_value
Usage
from texting.has_ansi import has_ansi
from texting.lange import lange
words = [
'peace',
'\u001B[4mwar\u001B[0m',
'\u001b[38;2;255;255;85mtolstoy\u001b[0m',
]
for word in words:
print(f'[{word}] [has_ansi] ({has_ansi(word)}) [lange] ({lange(word)})')
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
texting-0.0.13.tar.gz
(14.4 kB
view details)
Built Distribution
texting-0.0.13-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file texting-0.0.13.tar.gz
.
File metadata
- Download URL: texting-0.0.13.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.9.0-050900-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dabf933f87a0d38481031118a7fa20346b7951ba1b85af517ee567f95b89d595 |
|
MD5 | ab1f082efb2a9713f76a846755737930 |
|
BLAKE2b-256 | ea78c2de5d26ad029286bca09a08647b6dc040417ba8d49bd552be5a9ddbf41a |
File details
Details for the file texting-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: texting-0.0.13-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.9.0-050900-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d18674a6205e0388f825a0d4e0925a40b8a84703fbd8912c4432edd0d7cb05ae |
|
MD5 | 72d0ca1b833d233bb36d8d1ab7e21085 |
|
BLAKE2b-256 | 61a85e934d8533cdf563aecdbc4e12596a020684614bbaa1988f1159840af8ae |