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
str_util-0.1.3.tar.gz
(8.6 kB
view hashes)