Skip to main content

Python strings for humans.

Project description

Python strings for humans.


>>> from strings import string
>>> s = string("Hello, World")
>>> s
'Hello, World'
>>> s.len()
>>> s.length
>>> s.size
>>> s + ", What?"
Traceback (most recent call last):
  File "", line 27, in <module>
    x = s.add(", world")
  File "", line 20, in add
    return self + string(value)
  File "", line 23, in __add__
    raise NotImplementedError("Use add instead")
NotImplementedError: Use add instead
>>> s.add(", What?")
'Hello, World, What?'


Inspired by an April Fool’s Day joke.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


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
strings-0.1.2.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None Jul 11, 2013

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