{ "info": { "author": "Ask Solem", "author_email": "askh@opera.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Database", "Topic :: Database :: Front-Ends", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "============================================================================\nredish - Pythonic Redis abstraction built on top of redis-py\n============================================================================\n\n:Version: 0.0.1\n\nIntroduction\n============\n\nBraindump::\n\n >>> from redish.client import Client\n >>> x = Client()\n\n # Key/Value\n >>> x[\"foo\"] = {\"name\": \"George\"}\n >>> x[\"foo\"]\n {'name': 'George'}\n >>> del(x[\"foo\"])\n >>> x[\"foo\"]\n Traceback (most recent call last):\n File \"\", line 1, in \n File \"redish/client.py\", line 52, in __getitem__\n raise KeyError(key)\n KeyError: 'foo'\n\n # Sets\n\n >>> s = x.Set(\"myset\")\n >>> map(s.add, [\"opera\", \"firefox\", \"ie\", \"safari\"])\n [True, True, True, True]\n >>> \"opera\" in s\n True\n >>> s.remove(\"safari\")\n >>> \"safari\" in s\n False\n >>> list(s)\n ['opera', 'ie', 'firefox']\n >>> s2 = x.Set(\"myset2\")\n >>> map(s2.add, [\"opera\", \"firefox\", \"mosaic\"])\n [True, True, True]\n >>> s.difference(s2)\n set(['opera', 'firefox', 'mosaic'])\n\n # Sorted Set\n\n >>> z = x.SortedSet(\"myzset\")\n >>> z.add(\"foo\", 0.9) \n True\n >>> z.add(\"bar\", 0.1)\n True\n >>> z.add(\"baz\", 0.3)\n True\n >>> z[0:3]\n ['bar', 'baz', 'foo']\n\n\n\nInstallation\n============\n\nYou can install ``redish`` either via the Python Package Index (PyPI)\nor from source.\n\nTo install using ``pip``,::\n\n $ pip install redish\n\n\nTo install using ``easy_install``,::\n\n $ easy_install redish\n\n\nIf you have downloaded a source tarball you can install it\nby doing the following,::\n\n $ python setup.py build\n # python setup.py install # as root\n\nExamples\n========\n\n.. Please write some examples using your package here.", "description_content_type": null, "docs_url": "https://pythonhosted.org/redish/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/ask/redish", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "redish", "package_url": "https://pypi.org/project/redish/", "platform": "any", "project_url": "https://pypi.org/project/redish/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/ask/redish" }, "release_url": "https://pypi.org/project/redish/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "Pythonic Redis abstraction built on top of redis-py", "version": "0.0.1" }, "last_serial": 798671, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "86cb2770655200ee345c8bac3f5d7fe0", "sha256": "d81db76cba4ab5975fba3664d8f5cf5f016e0fb843ae6665a06123e7e411cd48" }, "downloads": -1, "filename": "redish-0.0.1.tar.gz", "has_sig": false, "md5_digest": "86cb2770655200ee345c8bac3f5d7fe0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 101736, "upload_time": "2010-04-29T17:12:33", "url": "https://files.pythonhosted.org/packages/bc/43/c7760e672ec9fbe1593aa0bddb00e850fb949432fa71903427bfa2549994/redish-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "86cb2770655200ee345c8bac3f5d7fe0", "sha256": "d81db76cba4ab5975fba3664d8f5cf5f016e0fb843ae6665a06123e7e411cd48" }, "downloads": -1, "filename": "redish-0.0.1.tar.gz", "has_sig": false, "md5_digest": "86cb2770655200ee345c8bac3f5d7fe0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 101736, "upload_time": "2010-04-29T17:12:33", "url": "https://files.pythonhosted.org/packages/bc/43/c7760e672ec9fbe1593aa0bddb00e850fb949432fa71903427bfa2549994/redish-0.0.1.tar.gz" } ] }