{ "info": { "author": "Samuel Giles", "author_email": "sam.e.giles@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Slumber |build-status| |coverage-status| |docs|\n===============================================\n\nSlumber is a Python library that provides a convenient yet powerful\nobject-oriented interface to ReSTful APIs. It acts as a wrapper around the\nexcellent requests_ library and abstracts away the handling of URLs, serialization,\nand request processing.\n\n.. _requests: http://python-requests.org/\n\nGetting Help\n============\n\nVisit IRC channel (`#slumber on irc.freenode.net`_) to get help, bounce ideas\nor generally shoot the breeze.\n\n.. _#slumber on irc.freenode.net: irc://irc.freenode.net/slumber\n\nQuickStart\n==========\n\n1. Install Slumber::\n\n $ pip install slumber\n\n2. Install Optional Requirement::\n\n pip install pyyaml\n\n3. Use Slumber!\n\nRequirements\n============\n\nSlumber requires the following modules.\n\n* Python 2.6+\n* requests\n* pyyaml (If you are using the optional YAML serialization)\n\n.. |build-status| image:: https://travis-ci.org/samgiles/slumber.svg?branch=master\n :target: https://travis-ci.org/samgiles/slumber\n :alt: Build status\n.. |coverage-status| image:: https://img.shields.io/coveralls/samgiles/slumber.svg\n :target: https://coveralls.io/r/samgiles/slumber\n :alt: Test coverage percentage\n.. |docs| image:: https://readthedocs.org/projects/slumber/badge/?version=latest\n :target: http://slumber.readthedocs.org/\n :alt: Documentation\n\n\n.. :changelog:\n\nChangelog\n=========\n\n\ndevelopment version\n-------------------\n\n0.7.1\n-----\n\n* Correct support for UTF encoded responses.\n\n0.6.2\n-----\n\n* Further Python 3 compatibility fixes, many thanks to Alexander Shchepetilnikov (irqed)\n\n0.6.1\n-----\n\n* Remove ``simplejson`` dependency.\n\n* Support range now Python 2.6 - Python 3.4\n\n\n0.6.0\n-----\n\n* All HTTP methods support multipart/form-data. The new ``files``\n parameter is directly passed to ``requests``. Thanks to Philip\n Neustrom and Diego Gaustein.\n\n\n0.5.2\n-----\n\n* Now compatible with ``requests`` 1.0 thanks to Matias Saguir.\n\n* Fix bug when using default serializer. Thanks to Andy McKay\n\n\n0.4.2\n-----\n\n* Support decoded unicode url fragments - Thanks @collinwat\n\n\n0.4.1\n-----\n\n* Added a ``session`` kwarg to ``slumber.API`` allowing passing a ``requests`` session\n that will be used instead of the slumber created one\n\n0.4.0\n-----\n\n* *(Backwards Incompatible)* Switched from ``httplib2`` to ``requests``\n* *(Backwards Incompatible)* Removed the Meta class Magic\n* *(Backwards Incompatible)* Removed the ability to subclass ``slumber.API`` to specify defaults\n* *(Backwards Incompatible)* New Syntax for Specifying Authentication\n\n0.3.1\n-----\n\n* Fix regression where pre 0.3 urls were assumed to end in slash, and 0.3.0 presumed to end in not slash.\n Urls are now assumed to end in a slash, and if you don't want this behavior you can disable it by the\n append_slash kwarg/Meta option (set to False to disable it).\n* Fix regression caused by a mistyped variable name.\n\n0.3.0\n-----\n\n* Allowed nesting resources infinitely to allow more complex api usage.\n* Cleaned up the Meta class and allow subclassing ``slumber.API``\n* *(Backwards Incompatible)* Cleaned up the exception names.\n* *(Backwards Incompatible)* Renamed the ``slumber.API`` serialization kwarg from\n default_format to format to be more consistent\n* Improved the documentation\n* Added Some Tests (This could still be better)\n\n0.2.5\n-----\n\n* Fixed https urls and the accidental force to port 80\n* Fixed the assumption that all urls end in a trailing slash\n\n0.2.4\n-----\n\n* Fixed Including of Changelog.rst\n\n0.2.3\n-----\n\n* Updated the docs to include a section about url parameters\n\n0.2\n----\n\n* *(Backwards Incompatible)* Move specifying a non default serializer from\n ``api.resource.get(format=\"yaml\")`` to ``api.resource(format=\"yaml\").get()``\n\n* Reworked the internal ``Resource`` api to not clobber any kwargs passed to it. This\n fixes a bug where you couldn't use ``format`` or ``url`` as the name for one of\n the url parameters.\n\n0.1.3\n-----\n\n* Fix for ``Resource.post()`` not passing kwargs to ``Resource.get()``\n\n0.1.2\n-----\n\n* Initial public release of Slumber", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/samgiles/slumber", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "slumber", "package_url": "https://pypi.org/project/slumber/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/slumber/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/samgiles/slumber" }, "release_url": "https://pypi.org/project/slumber/0.7.1/", "requires_dist": null, "requires_python": null, "summary": "A library that makes consuming a REST API easier and more convenient", "version": "0.7.1" }, "last_serial": 1547242, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "1508a8f717f76060e3f8244c2ad6ce38", "sha256": "7d3e5119a05bdba9f0ed0128e2a9c134762aaca15c19095cbcaa1c882b46b19f" }, "downloads": -1, "filename": "slumber-0.1.2.tar.gz", "has_sig": false, "md5_digest": "1508a8f717f76060e3f8244c2ad6ce38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6056, "upload_time": "2011-08-01T04:18:13", "url": "https://files.pythonhosted.org/packages/b9/9b/aa305e268221d0f7c768ad2dcfc06315e1b6b21a152939ff346585825689/slumber-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "8dd4bd36026c1f43d79a959de0adf7c4", "sha256": "8c897a3f56cfc0a70ffdf9c9415ca38f57c945fd97bc8ac582a127e4a7c98848" }, "downloads": -1, "filename": "slumber-0.1.3.tar.gz", "has_sig": false, "md5_digest": "8dd4bd36026c1f43d79a959de0adf7c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6068, "upload_time": "2011-08-02T23:29:45", "url": "https://files.pythonhosted.org/packages/6f/66/ede22677f2d93cdeb89557d10e302d4ec251935016f03b16c125393278d2/slumber-0.1.3.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "deca908f5308fb91879b1b33d43dc9ef", "sha256": "f8acc089782895f4f0337321779b36342b098442cdd891e725eb76338b67d38b" }, "downloads": -1, "filename": "slumber-0.2.2.tar.gz", "has_sig": false, "md5_digest": "deca908f5308fb91879b1b33d43dc9ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6584, "upload_time": "2011-08-03T00:46:06", "url": "https://files.pythonhosted.org/packages/ab/3e/89300a77ed29601affa91d35cd0335e285efe2cbbe8b74b5b12712ab4006/slumber-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "206ef7b44d9d6d1c462bd3bc9dad7704", "sha256": "b1be48be7e1510bc3465a41383fcc77efeaee631c7921a13423529e35eddbeef" }, "downloads": -1, "filename": "slumber-0.2.3.tar.gz", "has_sig": false, "md5_digest": "206ef7b44d9d6d1c462bd3bc9dad7704", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6824, "upload_time": "2011-08-03T01:07:07", "url": "https://files.pythonhosted.org/packages/d1/92/d2ec8d9305d47ca953ae8116ac683b70302af56de3ecfc46ecb86880b8ca/slumber-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "3cd83a34c122f23a7f98772db77948f6", "sha256": "15b10f44ce926b878fd3e92f2344aad08e0e57e483d2cd6c902bc577ebac25c5" }, "downloads": -1, "filename": "slumber-0.2.4.tar.gz", "has_sig": false, "md5_digest": "3cd83a34c122f23a7f98772db77948f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6950, "upload_time": "2011-08-04T00:54:04", "url": "https://files.pythonhosted.org/packages/23/9a/0d107a44e95ab918fc373f220c4fd5748c4c80316f3de3f809e6921afbba/slumber-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "815b3049954731b69304d8af703e45f0", "sha256": "526ccaac133ed702ec4465c712a793a0a0bdd1d4fd537c17f7612bd10c23eefb" }, "downloads": -1, "filename": "slumber-0.2.5.tar.gz", "has_sig": false, "md5_digest": "815b3049954731b69304d8af703e45f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6996, "upload_time": "2011-09-08T02:12:54", "url": "https://files.pythonhosted.org/packages/86/54/c32b6e0ece4e013a2a97f4a19e2a201a6e39db94a82f6c017a4c25935538/slumber-0.2.5.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "626e6c4f2a46c013c82529a1da3381b8", "sha256": "d8ae696d03290da9612f8fc4c61d7a2544e6f918fffb689297a7c0686984457b" }, "downloads": -1, "filename": "slumber-0.3.0.tar.gz", "has_sig": false, "md5_digest": "626e6c4f2a46c013c82529a1da3381b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9639, "upload_time": "2011-09-08T17:19:42", "url": "https://files.pythonhosted.org/packages/b5/a6/a226064ff5244feb2c4ba796a72b44fa93a364c58e6dd4740cfdde83279a/slumber-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "06212c3c86a9d0d649cee835a6db4750", "sha256": "5fa3552e01e8372e8358c4fb172555c3ab378a03e1ffc3555c32a414ab5f6f2c" }, "downloads": -1, "filename": "slumber-0.3.1.tar.gz", "has_sig": false, "md5_digest": "06212c3c86a9d0d649cee835a6db4750", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9941, "upload_time": "2011-09-09T19:37:33", "url": "https://files.pythonhosted.org/packages/e9/df/cf0a085795df653c1e0e76254a51c0228f9cd016d5c571c668747800ac38/slumber-0.3.1.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "7dc4ab620a5dfb5e2ce548441fe753d3", "sha256": "e8f8495e461ab348cf3f966b27665860df6d5c15ddd2ca5c863046c70e830cf3" }, "downloads": -1, "filename": "slumber-0.4.tar.gz", "has_sig": false, "md5_digest": "7dc4ab620a5dfb5e2ce548441fe753d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8953, "upload_time": "2012-01-05T06:45:09", "url": "https://files.pythonhosted.org/packages/3b/a8/4bd6fe8c9d0cbde49158c77b75b76dad28d09b776ea7e7143cb2d033e75e/slumber-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "b7138bd2e6b5d439cb4368ba5c3fdc62", "sha256": "e8d825b533ed62233a70747692d826cb6afb4b64ec7d21e53156ac451ac46eae" }, "downloads": -1, "filename": "slumber-0.4.1.tar.gz", "has_sig": false, "md5_digest": "b7138bd2e6b5d439cb4368ba5c3fdc62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9071, "upload_time": "2012-04-13T01:25:57", "url": "https://files.pythonhosted.org/packages/4d/da/11b2e24b1dd4cc7fe3eea51d2770f4a85a7e8d7f872b1cb0a8cfc6fe1353/slumber-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "1d74593442a1e865730b32ff1812cb64", "sha256": "d96d0317f61a80ae471b6555c1c14a6c2925bc596f9361872a3004c0928e3e99" }, "downloads": -1, "filename": "slumber-0.4.2.tar.gz", "has_sig": false, "md5_digest": "1d74593442a1e865730b32ff1812cb64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9237, "upload_time": "2012-04-16T13:58:11", "url": "https://files.pythonhosted.org/packages/d1/54/3641f7d40bd55faaae49a478f34436e5a4f94aea16965adc4910f39bfc75/slumber-0.4.2.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "35ffcda3eebe873ae4104c20d715b245", "sha256": "3ff5f50416947dbf346b9a59731b7e144ccebda818850ab8c43676032a2650e3" }, "downloads": -1, "filename": "slumber-0.5.tar.gz", "has_sig": false, "md5_digest": "35ffcda3eebe873ae4104c20d715b245", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8981, "upload_time": "2012-10-29T16:15:24", "url": "https://files.pythonhosted.org/packages/f2/1c/f2217fcb984db0089c5d483cf2ffdecbbdf0635b017df2d372d1617b8a55/slumber-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "c4534e9c21b7d4cbfafe27a71455adfb", "sha256": "da3ede8ea882b7db6f60094329884fd18700b7111c2527d14f5c75601616fe83" }, "downloads": -1, "filename": "slumber-0.5.1.tar.gz", "has_sig": false, "md5_digest": "c4534e9c21b7d4cbfafe27a71455adfb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9078, "upload_time": "2012-10-30T17:08:48", "url": "https://files.pythonhosted.org/packages/3c/ca/58cdb5db9a17b42868d508225847a45dab80b3200cbbc41afec3e7d529b8/slumber-0.5.1.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "3782ca87c9befa1775e0849501429a7d", "sha256": "684ce38885d87446df3cb08f525e6a5354c32c58a1cd4b2934b045b8e1c531a9" }, "downloads": -1, "filename": "slumber-0.5.3.tar.gz", "has_sig": false, "md5_digest": "3782ca87c9befa1775e0849501429a7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9098, "upload_time": "2013-02-07T17:36:10", "url": "https://files.pythonhosted.org/packages/db/6d/3ccf2552bc895643d522d199eceb1eb63155616f0432533672f0c64b276f/slumber-0.5.3.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "288df460ece28a20e13f8ccb7651d48c", "sha256": "e63141bfd22644375e3122a5d7f27c16432117435934c68bc608f24ac2d09167" }, "downloads": -1, "filename": "slumber-0.6.0-py27-none-any.whl", "has_sig": false, "md5_digest": "288df460ece28a20e13f8ccb7651d48c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6149, "upload_time": "2013-04-01T18:25:10", "url": "https://files.pythonhosted.org/packages/50/41/b835cc456ca928dc828a0b7746c25550f76c7d99007f4c2e7f64bc3ca3ec/slumber-0.6.0-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26fe00cf937defabc753f4788f4d9024", "sha256": "ff0cdc07baee2303c7e8e4378b12d41711690601e6cbd6e944eacc616ef7e3b6" }, "downloads": -1, "filename": "slumber-0.6.0.tar.gz", "has_sig": false, "md5_digest": "26fe00cf937defabc753f4788f4d9024", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9388, "upload_time": "2013-04-01T18:25:08", "url": "https://files.pythonhosted.org/packages/08/81/26f5aed7d6649e6dfe6fc6b499c0684eefe9fcbf3976e7a0aa7321c8f211/slumber-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "42a89a958d6ffea29f69a732f454de1c", "sha256": "9b3c6fb7616981c2ae225d1f00bbc708e54a66423b392fd753a28faf6ff1dcb3" }, "downloads": -1, "filename": "slumber-0.6.1.tar.gz", "has_sig": false, "md5_digest": "42a89a958d6ffea29f69a732f454de1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9895, "upload_time": "2014-11-11T15:28:53", "url": "https://files.pythonhosted.org/packages/3d/4f/247df972c44adec79dcecfa4a9085c118bb011d1f94057529a170701c7d0/slumber-0.6.1.tar.gz" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "c48f21b153ca95fac4fe16df9336996f", "sha256": "05199ea780090f0c41752f5af97f506b70b9c2580b73e0231ac83155022ea381" }, "downloads": -1, "filename": "slumber-0.6.2-py2-none-any.whl", "has_sig": false, "md5_digest": "c48f21b153ca95fac4fe16df9336996f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9247, "upload_time": "2014-11-15T10:46:56", "url": "https://files.pythonhosted.org/packages/c8/95/fc2659b7085f74537532ee590fc93775438da76d865e82aa11702cb3baed/slumber-0.6.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a78f6932fac557248e176570e172067b", "sha256": "f135034d8a4ba644207e4edcc85b2695e752c5445544cf25b28c3b12ed6d6c5f" }, "downloads": -1, "filename": "slumber-0.6.2.tar.gz", "has_sig": false, "md5_digest": "a78f6932fac557248e176570e172067b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10270, "upload_time": "2014-11-15T10:46:53", "url": "https://files.pythonhosted.org/packages/c7/ed/3cb30e1630650127407b84781b368be0287d34030ee49f5019fbd25cc29b/slumber-0.6.2.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "1fe9fc7c6f16677e27fd176a89a3b592", "sha256": "7eaf222aeec922ba1918268c4eb591ea90d4b6eb796d1e47b7f5085e4e4e32ed" }, "downloads": -1, "filename": "slumber-0.7.0-py2-none-any.whl", "has_sig": false, "md5_digest": "1fe9fc7c6f16677e27fd176a89a3b592", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9648, "upload_time": "2015-04-17T09:29:48", "url": "https://files.pythonhosted.org/packages/67/10/1b76078eca1568d27ccf074497931fa938555ef9d04d4fcd6444293175bb/slumber-0.7.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0f8b1727cc7b501791e138f02c0ec11", "sha256": "d34e88ed7d8db7d5f10ef1372bfe198f9057c971f94ab9c7e72958cd3ccf778e" }, "downloads": -1, "filename": "slumber-0.7.0.tar.gz", "has_sig": false, "md5_digest": "c0f8b1727cc7b501791e138f02c0ec11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10681, "upload_time": "2015-04-17T09:29:44", "url": "https://files.pythonhosted.org/packages/aa/72/493a58af33fc60f3245ab5fbc51f0e4fb0c1085880bf53b48aee706fbf19/slumber-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "a20e57de50bf26358982099f82d76b5f", "sha256": "298d0461657337416aa53c9fe54864cb5960a009beceb2058b17fa98dfb01e9b" }, "downloads": -1, "filename": "slumber-0.7.1-py2-none-any.whl", "has_sig": false, "md5_digest": "a20e57de50bf26358982099f82d76b5f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9723, "upload_time": "2015-05-14T15:54:01", "url": "https://files.pythonhosted.org/packages/9c/53/8e2cb7501c17f9367b02a8ce62cb463824f9c5f7884e4fe6c5f13cb79858/slumber-0.7.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "58fe531e23b7324b9fbd3faa89a115e2", "sha256": "96899ce914f8d7862ce34f4e50af3a82e35588ab61b4912b85844479f4d177cb" }, "downloads": -1, "filename": "slumber-0.7.1.tar.gz", "has_sig": false, "md5_digest": "58fe531e23b7324b9fbd3faa89a115e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10755, "upload_time": "2015-05-14T15:53:57", "url": "https://files.pythonhosted.org/packages/17/3a/6d42c6a5909207aa2487fda0c6f09c7dac259e5154d6ad74ec160db69660/slumber-0.7.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a20e57de50bf26358982099f82d76b5f", "sha256": "298d0461657337416aa53c9fe54864cb5960a009beceb2058b17fa98dfb01e9b" }, "downloads": -1, "filename": "slumber-0.7.1-py2-none-any.whl", "has_sig": false, "md5_digest": "a20e57de50bf26358982099f82d76b5f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9723, "upload_time": "2015-05-14T15:54:01", "url": "https://files.pythonhosted.org/packages/9c/53/8e2cb7501c17f9367b02a8ce62cb463824f9c5f7884e4fe6c5f13cb79858/slumber-0.7.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "58fe531e23b7324b9fbd3faa89a115e2", "sha256": "96899ce914f8d7862ce34f4e50af3a82e35588ab61b4912b85844479f4d177cb" }, "downloads": -1, "filename": "slumber-0.7.1.tar.gz", "has_sig": false, "md5_digest": "58fe531e23b7324b9fbd3faa89a115e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10755, "upload_time": "2015-05-14T15:53:57", "url": "https://files.pythonhosted.org/packages/17/3a/6d42c6a5909207aa2487fda0c6f09c7dac259e5154d6ad74ec160db69660/slumber-0.7.1.tar.gz" } ] }