Skip to main content

String functions for Python 3

Project description

String functions for Python 3, inspired by similar Lotus Domino @functions

Features

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


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)

Uploaded source

Built Distribution

str_util-0.1.3-py3-none-any.whl (9.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page