{ "info": { "author": "Demian Brecht", "author_email": "demianbrecht@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Site Management", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Systems Administration :: Authentication/Directory" ], "description": "sanction [sangk-shuhn]: authoritative permission or approval, as for an action. \n\nsanction is a ridiculously easy to use OAuth 2.0 client intended for rapid\ndevelopment against OAuth 2.0 providers with minimal keyboard bashing. \n\nDocs are available at readthedocs: http://sanction.readthedocs.org.\nChanges\n=======\n\nsanction 0.4.1 (1-14-2014)\n==========================\n* Fixed string formatting for Python 2.6 \n\nsanction 0.4 (8-21-2013)\n==========================\n* Breaking: token_transport parameter of Client.__init__ no longer accepts\n strings (which was weird to begin with). It only accepts callables.\n transport_headers and transport_query have been made public (well, the underscore\n prefix has been removed) in light of this.\n* Breaking: scope is now expected to be formatted how the provider expects\n it. scope_delim has been removed from auth_uri in order to simplify it. This\n means that your providers' scope should be set accordingly: i.e. Facebook\n may be 'foo,bar' while Google would be 'foo bar'.\n* Breaking: removed redirect_uri from Client.__init__ (didn't make sense to\n be there. This has been added to auth_uri and request_token.\n* Deprecation: sanction.client.Client has been deprecated in favor of \n sanction.Client. The deprecated version will likely be removed within \n the next couple minor revisions.\n* Feature: Added headers param to request\n* Feature: Added with_patched_client test decorator\n* Brought unit tests up to 100% coverage (yay!)\n* Sphinx-ified the docs, added to RTD\n* Removed Python 3.2 support (causes unit test breakage right now and I don't\n really want to spend more time on it ;)). The client code should work fine,\n it's just a test that doesn't pass right now.\n\nsanction 0.3.1 (4-8-2013)\n=========================\n* Added refresh_token, defaulting to None instead of dynamically adding it\n to the client instance\n\nsanction 0.3 (2-21-2013)\n========================\n* Python 3+ support added\n* Updated request to support a full range of HTTP methods (was previously POST\n and GET\n* Added support for multiple token transport types: HTTP headers, GET params\n or custom callable\n* Added exclude param to request_token in order to prevent certain fields from\n token request\n* Removed query param from request. These should now be added to the base url.\n\nsanction 0.1.4 (9-14-2012)\n==========================\n* Added support for refresh_token\n* Removed check for endpoint errors in request_token. Client code should \n deal with that before calling request_token.", "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/demianbrecht/sanction", "keywords": "python,oauth2", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "sanction", "package_url": "https://pypi.org/project/sanction/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sanction/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/demianbrecht/sanction" }, "release_url": "https://pypi.org/project/sanction/0.4.1/", "requires_dist": null, "requires_python": null, "summary": "A simple, lightweight OAuth2 client", "version": "0.4.1" }, "last_serial": 968934, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "9fe1a5eb2c5a73f05fec9d1e69993fc1", "sha256": "3ecf9b661b2dd26905fdda07ee6829d169e7e4e3f046342c47cf05348b11ea29" }, "downloads": -1, "filename": "sanction-0.1.1.zip", "has_sig": false, "md5_digest": "9fe1a5eb2c5a73f05fec9d1e69993fc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 505415, "upload_time": "2012-07-05T16:17:16", "url": "https://files.pythonhosted.org/packages/7d/a6/cafe5e1fd5b7ebcb58fe86e1d432a18de500488d548c4db2d4320defe902/sanction-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "00a3ddea7789bda391a63784ff58f044", "sha256": "dd4cb34be1958da9871da01f87abdd07c46ea8715b3ffc808d9542da0a9a8e93" }, "downloads": -1, "filename": "sanction-0.1.2.zip", "has_sig": false, "md5_digest": "00a3ddea7789bda391a63784ff58f044", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 505806, "upload_time": "2012-07-06T17:28:50", "url": "https://files.pythonhosted.org/packages/9d/4f/0963bbf3bf5f9c7279ea97fe97a763552c3a636c9f4a428cb798ce6754d4/sanction-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "02f739d6e1410d63a160a9d14e18ec35", "sha256": "1e37495180270445570aa2dc9e6d480be15d56d928274d145cff9651c027ae65" }, "downloads": -1, "filename": "sanction-0.1.3.zip", "has_sig": false, "md5_digest": "02f739d6e1410d63a160a9d14e18ec35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 506247, "upload_time": "2012-07-09T17:49:33", "url": "https://files.pythonhosted.org/packages/ba/12/4d159ed09d4ea14a1477750aef36d274f4eaf3d3630b4c9a083fa681d0c2/sanction-0.1.3.zip" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "45a481bb4229055fe4a0a5db0cd698b9", "sha256": "495b934203f58b91f1134fcf8d1cc23f010fd6f576247c22ca80a49c813a792b" }, "downloads": -1, "filename": "sanction-0.1.4.zip", "has_sig": false, "md5_digest": "45a481bb4229055fe4a0a5db0cd698b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13632, "upload_time": "2012-09-17T14:34:56", "url": "https://files.pythonhosted.org/packages/e6/59/20c77bc3612d8433f1b0533399d05977f0fea2b99bbc56da9970871f84e2/sanction-0.1.4.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "850ab7b5e4c8a99b752a943124cef91d", "sha256": "823294f79484b426bfdd44c8a717ff99da60ba3c939d301ff1e68ef9706185c8" }, "downloads": -1, "filename": "sanction-0.3.tar.gz", "has_sig": false, "md5_digest": "850ab7b5e4c8a99b752a943124cef91d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7747, "upload_time": "2013-02-25T15:51:51", "url": "https://files.pythonhosted.org/packages/a7/21/dad36d8cdb3dbad3baa3675636a53f956bdb2ea7ed60021fbbf04f1e38c4/sanction-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "6f65800509a554e1ffb72f58358a854f", "sha256": "9144036ef2014ed28687575748f33b10800261e52821be703ce6ff74cc42f5c8" }, "downloads": -1, "filename": "sanction-0.3.1.tar.gz", "has_sig": false, "md5_digest": "6f65800509a554e1ffb72f58358a854f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7830, "upload_time": "2013-04-08T23:19:30", "url": "https://files.pythonhosted.org/packages/2c/26/2961bb99004f864dbcd563aebcaf8192fec7b5ffaa829c587a4cdfc4b7b8/sanction-0.3.1.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "d3c300cc94173720602643b25f65f250", "sha256": "fd7ddda8eb3ed6ab22a0bb327fa6a737c08e0a910376368bfb809532196f9bc8" }, "downloads": -1, "filename": "sanction-0.4.tar.gz", "has_sig": false, "md5_digest": "d3c300cc94173720602643b25f65f250", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6316, "upload_time": "2013-08-23T19:46:51", "url": "https://files.pythonhosted.org/packages/e1/26/36a99b3ed55f211a145d66fa087a7d8ed5dda6ef678bff62b36dd9bf2668/sanction-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "68362d95eaf620b555a81dbead995724", "sha256": "3e41b24e28590a0dfed68eddd10e44fa01feb81812ffb49085ca764e51aea9fe" }, "downloads": -1, "filename": "sanction-0.4.1.tar.gz", "has_sig": false, "md5_digest": "68362d95eaf620b555a81dbead995724", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6359, "upload_time": "2014-01-14T15:59:23", "url": "https://files.pythonhosted.org/packages/63/c8/0386ac2b8446cc0d947e14d44cf6213bdb2c24475e76a7cd0ccde39ddbfa/sanction-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "68362d95eaf620b555a81dbead995724", "sha256": "3e41b24e28590a0dfed68eddd10e44fa01feb81812ffb49085ca764e51aea9fe" }, "downloads": -1, "filename": "sanction-0.4.1.tar.gz", "has_sig": false, "md5_digest": "68362d95eaf620b555a81dbead995724", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6359, "upload_time": "2014-01-14T15:59:23", "url": "https://files.pythonhosted.org/packages/63/c8/0386ac2b8446cc0d947e14d44cf6213bdb2c24475e76a7cd0ccde39ddbfa/sanction-0.4.1.tar.gz" } ] }