Skip to main content
Help us improve Python packaging – donate today!

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_full_string
  • is_ip
  • is_url
  • is_email
  • is_credit_card
  • is_camel_case
  • is_snake_case
  • is_json
  • is_uuid
  • is_pangram
  • is_palindrome
  • is_isogram
  • is_slug
  • words_count
  • contains_html

### String manipulation and generation

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

…and more are coming!

## Installation

pip install python-string-utils

## Documentation

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

Release history Release notifications

This version
History Node

0.6.0

History Node

0.5.0

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

History Node

0.1.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
python-string-utils-0.6.0.tar.gz (7.3 kB) Copy SHA256 hash SHA256 Source None Nov 8, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page