{ "info": { "author": "Ian Lewis", "author_email": "ian@beproud.jp", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "================\nbpssl\n================\n\nbpssl is a Django application that helps you support\nHTTPS on your website. The main functionality is performing redirection\nfor HTTPS only URLs and views. For instance, if a request for your\nlogin view '/login' is recieved over HTTP, the provided middleware can\nredirect the user to the equivalent HTTPS page.\n\nSpecifying views and urls as secure is supported as are `flatpages`_. `Fastcgi`_\nand HTTP proxy setups are also well supported. See the documentation at:\n\n* English: http://beproud.bitbucket.org/bpssl-1.0.2/en/\n* \u65e5\u672c\u8a9e: http://beproud.bitbucket.org/bpssl-1.0.2/ja/\n\nbpssl draws inspiration from the well known SSL Middleware snippets on\ndjangosnippets.org. It roughly supports the features of the following\nsnippets:\n\n* http://djangosnippets.org/snippets/880/\n* http://djangosnippets.org/snippets/240/\n* http://djangosnippets.org/snippets/1999/\n\nPlease file bugs at: http://bitbucket.org/beproud/bpssl/issues/\n\nMiddleware\n=====================\n\nbpssl provides an ``SSLRedirectMiddleware`` which can redirect users from\nsecure pages to non-secure pages and visa-versa. Urls are set up by adding\nregular expressions to the ``SSL_URLS`` setting in settings.py.\n``SSLRedirectMiddleware`` can also be extended to support more specific use\ncases.\n\nssl_view decorator\n=====================\n\nbpssl provides an ``ssl_view()`` decorator which can be used instead of the\n``SSL_URLS`` to specify that a particular view should be secure.\n\n.. _flatpages: http://docs.djangoproject.com/en/dev/ref/contrib/flatpages/\n.. _Fastcgi: http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi\n\nDevelopment\n=====================\n\nGenerally you will want to develop bpssl in a virtualenv with pip::\n\n $ mkvirtualenv bpssl\n\nYou can install the requirements using the requirements.txt and pip::\n \n $ pip install -r setup/requirements.txt\n\nAnd run tests normally using setup.py::\n\n $ python setup.py test \n\nCHANGES\n=======\n\n1.0.3\n------\n\n- Support for tests running up to Django 1.7 and Python 3.4\n\n1.0.2\n------\n\n- Fixed issue with get_host() function in Django 1.5\n\n1.0.1\n------\n\n- Fixed SSL_REQUEST_HEADER setting to use the custom setting, if available (Thanks Gabriel Grant)\n\n1.0\n------\n\n- Initial Release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/beproud/bpssl/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "bpssl", "package_url": "https://pypi.org/project/bpssl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bpssl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/beproud/bpssl/" }, "release_url": "https://pypi.org/project/bpssl/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "SSL/HTTPS for Django", "version": "1.0.3" }, "last_serial": 1322671, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "071e2e7f9bd707e8e927f31f4a9e8ddc", "sha256": "2cfc392c86be72846a1ee0f245c9629c3793d8e845d324e162540c345f6bb570" }, "downloads": -1, "filename": "bpssl-1.0.tar.gz", "has_sig": false, "md5_digest": "071e2e7f9bd707e8e927f31f4a9e8ddc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 267451, "upload_time": "2010-11-09T03:04:53", "url": "https://files.pythonhosted.org/packages/fc/54/a34b3613fa8960e21ec4311119f22fdad6b221e6f89c1d7b8ea8b971cd93/bpssl-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "a1849f95d8d110560868428127483a23", "sha256": "45485c5c00c9c794260b75686de84db3454da916e3873aa26987f7f591bc553c" }, "downloads": -1, "filename": "bpssl-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a1849f95d8d110560868428127483a23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 267819, "upload_time": "2011-06-30T16:18:42", "url": "https://files.pythonhosted.org/packages/dc/4d/089905bbf9a4baafbdfe247ef194c21522587644bc480837535652d7f634/bpssl-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "0bd3f601613c3147f9d99f0ccc3eaacb", "sha256": "360d508edceccffc0e407fa1717786dc4f5691eb6f4f451192923b445572cb6b" }, "downloads": -1, "filename": "bpssl-1.0.2.tar.gz", "has_sig": false, "md5_digest": "0bd3f601613c3147f9d99f0ccc3eaacb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 303417, "upload_time": "2012-10-26T08:24:57", "url": "https://files.pythonhosted.org/packages/80/b6/318a6707039c2464d9e425d467babf3f8a6aeff57d8698fa3b51d46a7f06/bpssl-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "1eeb3cc5c854e7e4e5c37eb25749a848", "sha256": "7e232461e0986e218a78f542ec2796991ad8838e64fe06ea447ad1193302739e" }, "downloads": -1, "filename": "bpssl-1.0.3.tar.gz", "has_sig": false, "md5_digest": "1eeb3cc5c854e7e4e5c37eb25749a848", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53611, "upload_time": "2014-11-27T08:00:45", "url": "https://files.pythonhosted.org/packages/65/01/04e70ab98669715300875a06917e2f8425904002615c6429dc448571ec5f/bpssl-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1eeb3cc5c854e7e4e5c37eb25749a848", "sha256": "7e232461e0986e218a78f542ec2796991ad8838e64fe06ea447ad1193302739e" }, "downloads": -1, "filename": "bpssl-1.0.3.tar.gz", "has_sig": false, "md5_digest": "1eeb3cc5c854e7e4e5c37eb25749a848", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53611, "upload_time": "2014-11-27T08:00:45", "url": "https://files.pythonhosted.org/packages/65/01/04e70ab98669715300875a06917e2f8425904002615c6429dc448571ec5f/bpssl-1.0.3.tar.gz" } ] }