strings


Namestrings JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttp://github.com/pydanny/strings
SummaryPython strings for humans.
upload_time2013-07-11 23:26:39
maintainerNone
docs_urlNone
authorDaniel Greenfeld
requires_pythonNone
licenseMIT
keywords python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            strings
=============

Python strings for humans.

Usage:

.. code-block:: python

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

Inspired by an April Fool's Day joke.
            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/pydanny/strings",
    "name": "strings",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python",
    "author": "Daniel Greenfeld",
    "author_email": "pydanny@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/bf/25/472d34792ee3816edcab999b5c00ce5e468ebd928ab5eff77f2a6738e37a/strings-0.1.2.tar.gz",
    "platform": "UNKNOWN",
    "description": "strings\n=============\n\nPython strings for humans.\n\nUsage:\n\n.. code-block:: python\n\n    >>> from strings import string\n    >>> s = string(\"Hello, World\")\n    >>> s\n    'Hello, World'\n    >>> s.len()\n    12\n    >>> s.length\n    12\n    >>> s.size\n    12\n    >>> s + \", What?\"\n    Traceback (most recent call last):\n      File \"strings.py\", line 27, in <module>\n        x = s.add(\", world\")\n      File \"strings.py\", line 20, in add\n        return self + string(value)\n      File \"strings.py\", line 23, in __add__\n        raise NotImplementedError(\"Use add instead\")\n    NotImplementedError: Use add instead\n    >>> s.add(\", What?\")\n    'Hello, World, What?'\n    \nBackground\n-----------\n\nInspired by an April Fool's Day joke.",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python strings for humans.",
    "version": "0.1.2",
    "split_keywords": [
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bf25472d34792ee3816edcab999b5c00ce5e468ebd928ab5eff77f2a6738e37a",
                "md5": "93074a9bc03574aa62c1f9b45ad98bd1",
                "sha256": "8398e184ccee0900772443179554dfde157b6472a5a18c4dc68fff10de8126e7"
            },
            "downloads": -1,
            "filename": "strings-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "93074a9bc03574aa62c1f9b45ad98bd1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2192,
            "upload_time": "2013-07-11T23:26:39",
            "upload_time_iso_8601": "2013-07-11T23:26:39.696091Z",
            "url": "https://files.pythonhosted.org/packages/bf/25/472d34792ee3816edcab999b5c00ce5e468ebd928ab5eff77f2a6738e37a/strings-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2013-07-11 23:26:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "pydanny",
    "github_project": "strings",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "strings"
}
        
Elapsed time: 0.05254s