Skip to main content

Utility functions for strings checking and manipulation.

Project description

# Python String Utils

A small utility library to check and manipulate strings.

  • simple and pythonic
  • fast (based on compiled regex)
  • no external dependencies
  • fully documented
  • PEP8 complaint
  • 100% code coverage
  • tested against multiple python versions (2.7, 3.2, 3.3, 3.4, 3.5)

## What’s inside…

### String checking functions:

  • is_string
  • is_ip
  • is_url
  • is_email
  • is_credit_card
  • is_camel_case
  • is_snake_case
  • is_json
  • is_uuid
  • is_pangram
  • id_palindrome
  • words_count
  • contains_html

### String manipulation and generation

  • camel_case_to_snake
  • snake_case_to_camel
  • reverse
  • uuid
  • shuffle
  • strip_html
  • prettify

…and more are coming!

## Installation

pip install python-string-utils

## Documentation

Full API documentation available on: <http://python-string-utils.readthedocs.org/en/latest/>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-string-utils, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size python-string-utils-0.4.1.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View

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