{ "info": { "author": "Ryan Hiebert", "author_email": "ryan@ryanhiebert.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "undecorate\n==========\n\nLet your decorations be undone\n\nInstallation\n------------\n\n.. code-block:: sh\n\n $ pip install undecorate\n\nUsage\n-----\n\n.. code-block:: pycon\n\n >>> from undecorate import unwrap, unwrappable\n >>>\n >>> @unwrappable\n ... def pack(func):\n ... def wrapper(args, kwargs):\n ... return func(*args, **kwargs)\n ... return wrapper\n ...\n >>> @pack\n ... def myfunc(a, b=None, c=None):\n ... return (a, b, c)\n ...\n >>> myfunc('a', b='b')\n Traceback (most recent call last):\n ...\n TypeError: wrapper() got an unexpected keyword argument 'b'\n >>>\n >>> unwrap(myfunc)('a', b='b')\n ('a', 'b', None)\n\n\n0.2.1 (2014-09-29)\n++++++++++++++++++\n\n* Fix bug in ``create_class_wrapper`` and ``class_wraps`` that caused them to\n always throw an error when used.\n* Remove ``CLASS_WRAPPER_DELETES``, and corresponding ``deleted`` arguments on\n ``create_class_wrapper`` and ``class_wraps``.\n\n\n0.2 (2014-09-29)\n++++++++++++++++\n\n* Add ``create_class_wrapper`` and ``class_wraps``.\n* Internally use ``__wrapped__`` to match Python 3.2+.\n* Add backport versions of functools ``wraps`` and ``update_wrapper``.\n They wrap the stdlib versions, and ensure that ``__wrapped__`` is set.\n\n\n0.1 (2014-09-04)\n++++++++++++++++\n\n* Initial Release\n* ``unwrappable`` and ``unwrap`` functions", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ryanhiebert/undecorate", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "undecorate", "package_url": "https://pypi.org/project/undecorate/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/undecorate/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ryanhiebert/undecorate" }, "release_url": "https://pypi.org/project/undecorate/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Let your decorations be undone", "version": "0.2.1" }, "last_serial": 1242701, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "663d7ce5995b133cc0dea0efe385bb03", "sha256": "4b716ea798c8eb5896aeea5eb76cdcc22d56c054823515d234d8eacf661f91dd" }, "downloads": -1, "filename": "undecorate-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "663d7ce5995b133cc0dea0efe385bb03", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 3393, "upload_time": "2014-09-04T18:28:55", "url": "https://files.pythonhosted.org/packages/12/e0/73631e5c63be9b2620fe1ad37269c2c59976f45741570aafb56e5c4e0bd4/undecorate-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bce1c4f77c8f4b6d45cac9c5a4146e70", "sha256": "fd2cbbab30ac39e3ce693313491b3d6f21094f1413191115ee87fd9f9a4790bc" }, "downloads": -1, "filename": "undecorate-0.1.tar.gz", "has_sig": false, "md5_digest": "bce1c4f77c8f4b6d45cac9c5a4146e70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2690, "upload_time": "2014-09-04T18:28:45", "url": "https://files.pythonhosted.org/packages/25/83/bdb4b6212082126ca71bb65dc5bbb7ab177600a0fb6c26c7d346790911ac/undecorate-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7dd8d1a764d211057f7feb4eea768117", "sha256": "6f34d5a506ad02fe653246a6e6cbf4f2b7562f31134c47769e4e9e099dd529e9" }, "downloads": -1, "filename": "undecorate-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7dd8d1a764d211057f7feb4eea768117", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 4687, "upload_time": "2014-09-30T03:43:30", "url": "https://files.pythonhosted.org/packages/17/cb/30277fdac9337bdb70b9c5fbd4d45684fbf94a6a3ecdc899a84503b68110/undecorate-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e26d5bad26d55984aad2eb0f617b7f6", "sha256": "d9479a228786cf7bef1d5cb06f8a4123c3a374e45a9a461816b5454d434e2e99" }, "downloads": -1, "filename": "undecorate-0.2.tar.gz", "has_sig": false, "md5_digest": "5e26d5bad26d55984aad2eb0f617b7f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4199, "upload_time": "2014-09-30T03:43:14", "url": "https://files.pythonhosted.org/packages/15/50/2488e0bc63ca559a821e3187ed6b0ece63d290a9e94076f42877935249a7/undecorate-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "39cfe1a7d40be9b78d548420d40cc80a", "sha256": "b221138176aeeafb7e121589b0829f8ba121e9e5320db569ce0173db771328ba" }, "downloads": -1, "filename": "undecorate-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "39cfe1a7d40be9b78d548420d40cc80a", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 4896, "upload_time": "2014-09-30T04:46:35", "url": "https://files.pythonhosted.org/packages/7b/91/d48dfb3830de993c3012cf627d06314ee9a82e2e95c0eff5415f76b2a22c/undecorate-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4ea66aace34b6038aa61dc9d27580478", "sha256": "d56c72b375dccc69389065e8f3a29f38e625769308f40d4ceb56b20cdde7fc1b" }, "downloads": -1, "filename": "undecorate-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4ea66aace34b6038aa61dc9d27580478", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4256, "upload_time": "2014-09-30T04:46:30", "url": "https://files.pythonhosted.org/packages/9c/5c/9a61620695c69de007d054390b4c972da4a42b21c24917a4a1678f5cd409/undecorate-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "39cfe1a7d40be9b78d548420d40cc80a", "sha256": "b221138176aeeafb7e121589b0829f8ba121e9e5320db569ce0173db771328ba" }, "downloads": -1, "filename": "undecorate-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "39cfe1a7d40be9b78d548420d40cc80a", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 4896, "upload_time": "2014-09-30T04:46:35", "url": "https://files.pythonhosted.org/packages/7b/91/d48dfb3830de993c3012cf627d06314ee9a82e2e95c0eff5415f76b2a22c/undecorate-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4ea66aace34b6038aa61dc9d27580478", "sha256": "d56c72b375dccc69389065e8f3a29f38e625769308f40d4ceb56b20cdde7fc1b" }, "downloads": -1, "filename": "undecorate-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4ea66aace34b6038aa61dc9d27580478", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4256, "upload_time": "2014-09-30T04:46:30", "url": "https://files.pythonhosted.org/packages/9c/5c/9a61620695c69de007d054390b4c972da4a42b21c24917a4a1678f5cd409/undecorate-0.2.1.tar.gz" } ] }