{ "info": { "author": "David Cuthbert", "author_email": "dacut@kanga.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "AWS signature verification routines.\n==============================================================================\n\nThis library provides signature verification for requests made to an AWS\nservice. Typically, this is used to provide mock interfaces for AWS services\nor to rewrite AWS requests through a proxy host.\n\nThe current source tree can be found on\n`GitHub `_.\n\nDocumentation is available on\n`pythonhosted `_.\n\nCurrently only `SigV4`_ is supported.\n \nExample Usage\n------------------------------------------------------------------------------\n\n::\n\n >>> import awssig\n >>> access_key = \"AKIDEXAMPLE\"\n >>> secret_key = \"wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY\"\n >>> key_mapping = { access_key: secret_key }\n >>> v = awssig.AWSSigV4Verifier(\n ... request_method=\"GET\",\n ... uri_path=\"/\",\n ... query_string=\"a=foo&b=foo\",\n ... headers={\n ... \"Date\": \"Mon, 09 Sep 2011 23:36:00 GMT\",\n ... \"Host\": \"host.foo.com\",\n ... \"Authorization\": (\n ... \"AWS4-HMAC-SHA256 \"\n ... \"Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, \"\n ... \"SignedHeaders=date;host, \"\n ... \"Signature=0dc122f3b28b831ab48ba65cb47300de53fbe91b577fe113edac383730254a3b\"),\n ... },\n ... body=b\"\",\n ... region=\"us-east-1\",\n ... service=\"host\",\n ... key_mapping=key_mapping,\n ... timestamp_mismatch=None)\n >>> try:\n ... v.verify()\n ... print(\"ok\")\n ... except awssig.InvalidSignatureError as e:\n ... print(\"error: %s\" % e)\n ok\n\n.. _SigV4: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\n", "description_content_type": null, "docs_url": "https://pythonhosted.org/awssig/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dacut/python-aws-sig", "keywords": "aws,signature", "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "awssig", "package_url": "https://pypi.org/project/awssig/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/awssig/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dacut/python-aws-sig" }, "release_url": "https://pypi.org/project/awssig/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "AWS signature verification routines", "version": "0.2.2" }, "last_serial": 1950808, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "1ca6323ff1ec3a4d89ed9fd329b3e5f7", "sha256": "445b03945096bf9ca238b3fb8b88b7106c355538014b5a77183e3fe2f8793aea" }, "downloads": -1, "filename": "awssig-0.2.2.tar.gz", "has_sig": false, "md5_digest": "1ca6323ff1ec3a4d89ed9fd329b3e5f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7345, "upload_time": "2016-02-11T09:44:28", "url": "https://files.pythonhosted.org/packages/98/b9/da7fe795d9bd13a67b34c5149380a7f6d1bc517168c0b44c24c0d92e4604/awssig-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1ca6323ff1ec3a4d89ed9fd329b3e5f7", "sha256": "445b03945096bf9ca238b3fb8b88b7106c355538014b5a77183e3fe2f8793aea" }, "downloads": -1, "filename": "awssig-0.2.2.tar.gz", "has_sig": false, "md5_digest": "1ca6323ff1ec3a4d89ed9fd329b3e5f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7345, "upload_time": "2016-02-11T09:44:28", "url": "https://files.pythonhosted.org/packages/98/b9/da7fe795d9bd13a67b34c5149380a7f6d1bc517168c0b44c24c0d92e4604/awssig-0.2.2.tar.gz" } ] }