String functions for Python 3
Project description
String functions for Python 3, inspired by similar Lotus Domino @functions
Features
Powerful functions to work with both strings and list of strings
Fully documented: https://stringfunctions.readthedocs.io
98% coverage
MIT License, source code: https://github.com/majkilde/stringfunctions
Installation
Install the latest release from PyPI:
pip install str_util
Usage
All functions are available directly off the str_util package. You may choose to import individual functions by name, or import all.
from str_util import word, is_string
def foo(value):
if is_string( value ):
return word(value,1)
return "not a string"
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file str_util-0.1.3.tar.gz.
File metadata
- Download URL: str_util-0.1.3.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d8ebdc7d16fb9d0c153560e4a293caf9ccd993b53fc3b7188d3738b20ecfb53
|
|
| MD5 |
c838841882eeb9ca59fccc73cd1ea5e5
|
|
| BLAKE2b-256 |
c6625f8741ed6541e1be19fd7634ac6b9692b6393770d2bf22f3d69589b2a260
|
File details
Details for the file str_util-0.1.3-py3-none-any.whl.
File metadata
- Download URL: str_util-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a623bbf0a3943b7972195466a40b6ccbaf00db3c892683c439fde62efa1279a6
|
|
| MD5 |
e2a55717a8873df6bdd937ef4d84eba5
|
|
| BLAKE2b-256 |
0e2773f06b571278e24e9674b3941edfb3fa90d1eb1214278aa8a7b4773da4d6
|