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.

Source Distribution

python-string-utils-0.4.0.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file python-string-utils-0.4.0.tar.gz.

File metadata

File hashes

Hashes for python-string-utils-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9cd713e356f4e22f9bc7360a6dbd0dc8d441a33f755056f83b2323866dda898c
MD5 435f1bb75f85f0b560dbf136970367cc
BLAKE2b-256 02eecff70d9947fd549a9eca35a994e269c0ccad324df176c8690ebb61031acc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page