{ "info": { "author": "Chuan Ji", "author_email": "jichu4n@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "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 :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Communications :: Email", "Topic :: Communications :: Email :: Mail Transport Agents", "Topic :: Security", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "srslib - Sender Rewriting Scheme (SRS) library for Python\n=========================================================\n\n**srslib** is a modern Python implementation of the `Sender Rewriting\nScheme (SRS) `__.\n\nHighlights:\n\n- Compatible with Python 2.7 and 3.x;\n- Implements the standard \"Guarded\" SRS scheme as described in the\n `original SRS paper `__;\n- Simple to use and understand.\n\nInstallation\n------------\n\n.. code:: sh\n\n pip install srslib\n\nExample Usage\n-------------\n\n.. code:: py\n\n import srslib\n\n srs = srslib.SRS('my_secret_key')\n\n # Rewrites an email from alice@A.com to B.com\n rewritten_addr = srs.forward('alice@A.com', 'B.com')\n # => 'SRS0=ZPM1=67=A.com=alice@B.com'\n\n # Reverse it to get the address to bounce to.\n try:\n bounce_addr = srs.reverse(rewritten_addr)\n # => 'alice@A.com'\n except srslib.Error as e:\n ... # Handle errors\n\nDocumentation\n-------------\n\nThe full documentation for **srslib** lives at\nhttps://srslib.readthedocs.io/.\n\nImplementation\n--------------\n\nThis library is a clean re-implementation of SRS in modern Python based\non the `original SRS paper `__, and\ntaking inspiration from the canonical\n`libsrs2 `__ C implementation and the\nolder `pysrs `__ library (which\nitself is based on the\n`Mail::SRS `__\nPerl package).\n\nCompared to these two libraries, **srslib**\n\n- ... is a clean, modern, pure-Python implementation and supports\n Python 3.x;\n- ... discards baggage from Mail::SRS around legacy schemes and\n settings.\n\nLicense\n-------\n\nLicensed under the Apache License, Version 2.0.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/jichu4n/srslib/archive/0.1.4.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jichu4n/srslib", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "srslib", "package_url": "https://pypi.org/project/srslib/", "platform": "", "project_url": "https://pypi.org/project/srslib/", "project_urls": { "Download": "https://github.com/jichu4n/srslib/archive/0.1.4.tar.gz", "Homepage": "https://github.com/jichu4n/srslib" }, "release_url": "https://pypi.org/project/srslib/0.1.4/", "requires_dist": [ "typing; python_version < \"3.5\"" ], "requires_python": "", "summary": "Sender Rewriting Scheme (SRS) library for Python", "version": "0.1.4" }, "last_serial": 3897373, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "635c2f27bcd2b2dc4c7535b151f65714", "sha256": "474d91551effc5b36dd3adb6e5a88c0cee28ba2837208fe61020b7739d8f5c11" }, "downloads": -1, "filename": "srslib-0.1.tar.gz", "has_sig": false, "md5_digest": "635c2f27bcd2b2dc4c7535b151f65714", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5540, "upload_time": "2017-07-28T09:07:37", "url": "https://files.pythonhosted.org/packages/ee/99/81c8e4ae5ced7570863c945fd45af802fe30c033fad5f109629f5ff72cc2/srslib-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7a5c84aee9867fac9edafc680492450e", "sha256": "a4ea6ed35f1e3e27fca28deb3944cf7e9c20cd45c482b066d6a1c38a5b67bf45" }, "downloads": -1, "filename": "srslib-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7a5c84aee9867fac9edafc680492450e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5606, "upload_time": "2017-07-28T09:32:08", "url": "https://files.pythonhosted.org/packages/24/62/0b88d23e559c4dfd9700dcb8d94c57bf6358d405933f4f08fbf262dd71a1/srslib-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5657a6108024885675b9ddddc2c02c39", "sha256": "87233dd75b8504ee0271a2796e286daf1ded5028762f1a85e99e6c095dfd5b27" }, "downloads": -1, "filename": "srslib-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5657a6108024885675b9ddddc2c02c39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5850, "upload_time": "2017-07-29T01:27:25", "url": "https://files.pythonhosted.org/packages/ca/db/37656c49e642c2021550494100cfbd47d0628b500a08b9d22574e7d8daa8/srslib-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "610d9f46d229d584704fa9d10781b288", "sha256": "4eaac70b6e8aa04a4a8404893bfe5c5015b15f43f465a67ed87900b451349d76" }, "downloads": -1, "filename": "srslib-0.1.3.tar.gz", "has_sig": false, "md5_digest": "610d9f46d229d584704fa9d10781b288", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6072, "upload_time": "2017-08-23T18:48:42", "url": "https://files.pythonhosted.org/packages/80/ea/fb3bafade8feb8cb357e72e9a5ab6201bf448f79fc767d2791c6e7ddea57/srslib-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "ea8e02f6c50402e7ac3fc2f5e895a649", "sha256": "aee47c3b445abd6b6080115d8f9132f7df04da740d271c3180b47eee77fb6113" }, "downloads": -1, "filename": "srslib-0.1.4-py2-none-any.whl", "has_sig": false, "md5_digest": "ea8e02f6c50402e7ac3fc2f5e895a649", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8067, "upload_time": "2018-05-25T02:49:40", "url": "https://files.pythonhosted.org/packages/26/45/216b72de592da9eb7cde69ce86f65ce6f0190f1fe8a03ac89c162aca06a0/srslib-0.1.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f05233b561a281f95ac103911273e5b9", "sha256": "556cca7e0c4b92e074fe596e4bd4ac7899291d45f8d8db6e944055f5661343cb" }, "downloads": -1, "filename": "srslib-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "f05233b561a281f95ac103911273e5b9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8104, "upload_time": "2018-05-25T02:45:27", "url": "https://files.pythonhosted.org/packages/ba/4e/91f8917df4be584696d80310eb5b5dc5017f74aa444e58624dbf20dd58d7/srslib-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "512d675924eeae1415051c937029b677", "sha256": "b30e7dcb1311dcdb6e5a6b43898cddee41c4b331d0cc49e049c3027caa5a2103" }, "downloads": -1, "filename": "srslib-0.1.4.tar.gz", "has_sig": false, "md5_digest": "512d675924eeae1415051c937029b677", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6070, "upload_time": "2018-05-25T02:45:28", "url": "https://files.pythonhosted.org/packages/04/d2/0ff8454bb8a79306e02549f85a83569d34ce39d8fd26dbe706d08752d41d/srslib-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea8e02f6c50402e7ac3fc2f5e895a649", "sha256": "aee47c3b445abd6b6080115d8f9132f7df04da740d271c3180b47eee77fb6113" }, "downloads": -1, "filename": "srslib-0.1.4-py2-none-any.whl", "has_sig": false, "md5_digest": "ea8e02f6c50402e7ac3fc2f5e895a649", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8067, "upload_time": "2018-05-25T02:49:40", "url": "https://files.pythonhosted.org/packages/26/45/216b72de592da9eb7cde69ce86f65ce6f0190f1fe8a03ac89c162aca06a0/srslib-0.1.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f05233b561a281f95ac103911273e5b9", "sha256": "556cca7e0c4b92e074fe596e4bd4ac7899291d45f8d8db6e944055f5661343cb" }, "downloads": -1, "filename": "srslib-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "f05233b561a281f95ac103911273e5b9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8104, "upload_time": "2018-05-25T02:45:27", "url": "https://files.pythonhosted.org/packages/ba/4e/91f8917df4be584696d80310eb5b5dc5017f74aa444e58624dbf20dd58d7/srslib-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "512d675924eeae1415051c937029b677", "sha256": "b30e7dcb1311dcdb6e5a6b43898cddee41c4b331d0cc49e049c3027caa5a2103" }, "downloads": -1, "filename": "srslib-0.1.4.tar.gz", "has_sig": false, "md5_digest": "512d675924eeae1415051c937029b677", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6070, "upload_time": "2018-05-25T02:45:28", "url": "https://files.pythonhosted.org/packages/04/d2/0ff8454bb8a79306e02549f85a83569d34ce39d8fd26dbe706d08752d41d/srslib-0.1.4.tar.gz" } ] }