{ "info": { "author": "Kenneth Reitz", "author_email": "me@kennethreitz.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "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", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "\ndj-database-url\n~~~~~~~~~~~~~~~\n\n.. image:: https://secure.travis-ci.org/kennethreitz/dj-database-url.png?branch=master\n :target: http://travis-ci.org/kennethreitz/dj-database-url\n\nThis simple Django utility allows you to utilize the\n`12factor `_ inspired\n``DATABASE_URL`` environment variable to configure your Django application.\n\nThe ``dj_database_url.config`` method returns a Django database connection\ndictionary, populated with all the data specified in your URL. There is\nalso a `conn_max_age` argument to easily enable Django's connection pool.\n\nIf you'd rather not use an environment variable, you can pass a URL in directly\ninstead to ``dj_database_url.parse``.\n\nSupported Databases\n-------------------\n\nSupport currently exists for PostgreSQL, PostGIS, MySQL, MySQL (GIS),\nOracle, Oracle (GIS), and SQLite.\n\nInstallation\n------------\n\nInstallation is simple::\n\n $ pip install dj-database-url\n\nUsage\n-----\n\nConfigure your database in ``settings.py`` from ``DATABASE_URL``::\n\n import dj_database_url\n\n DATABASES['default'] = dj_database_url.config(conn_max_age=600, ssl_require=True)\n\nProvide a default::\n\n DATABASES['default'] = dj_database_url.config(default='postgres://...'}\n\nParse an arbitrary Database URL::\n\n DATABASES['default'] = dj_database_url.parse('postgres://...', conn_max_age=600)\n\nThe ``conn_max_age`` attribute is the lifetime of a database connection in seconds\nand is available in Django 1.6+. If you do not set a value, it will default to ``0``\nwhich is Django's historical behavior of using a new database connection on each\nrequest. Use ``None`` for unlimited persistent connections.\n\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kennethreitz/dj-database-url", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "dj-database-url", "package_url": "https://pypi.org/project/dj-database-url/", "platform": "any", "project_url": "https://pypi.org/project/dj-database-url/", "project_urls": { "Homepage": "https://github.com/kennethreitz/dj-database-url" }, "release_url": "https://pypi.org/project/dj-database-url/0.5.0/", "requires_dist": null, "requires_python": "", "summary": "Use Database URLs in your Django Application.", "version": "0.5.0" }, "last_serial": 5552163, "releases": { "0": [], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8b285dba950c9ca6e3f6082be64b2faf", "sha256": "6169f2c272326e3cced6999effb19013365ea73f6ed6c731efa4e346711d8969" }, "downloads": -1, "filename": "dj-database-url-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8b285dba950c9ca6e3f6082be64b2faf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1721, "upload_time": "2012-04-30T21:13:53", "url": "https://files.pythonhosted.org/packages/04/89/29cdbc86a0890a4f1e46b6f4bb9b7959e461e0202f6a305bd8b586cc1404/dj-database-url-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "175111400fee7c1f6ce4a4829c8b26ee", "sha256": "222744896dcbe939aa940217c940a8a95981be13beb9af639a1da024be4f9411" }, "downloads": -1, "filename": "dj-database-url-0.1.3.tar.gz", "has_sig": false, "md5_digest": "175111400fee7c1f6ce4a4829c8b26ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1739, "upload_time": "2012-05-02T23:32:53", "url": "https://files.pythonhosted.org/packages/bd/80/f8430a065c09367cd766cdea08f80d11b625944a653f96c2bd02d183355b/dj-database-url-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "ee1f46a6b0ca3329e6701b5578b2aee6", "sha256": "14faa143247e267aefd807490e1e89e3ad9fac0a06c4aee3f9fe328849bd15cf" }, "downloads": -1, "filename": "dj-database-url-0.1.4.tar.gz", "has_sig": false, "md5_digest": "ee1f46a6b0ca3329e6701b5578b2aee6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1765, "upload_time": "2012-05-30T07:49:18", "url": "https://files.pythonhosted.org/packages/3e/78/c18103be8b9f06a3cb9ee93adb63f91c16f8c8781c8abb0e5b06acef7106/dj-database-url-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "faaf1e1f06f738f72ef964696c46e379", "sha256": "5edd253ccb407a0bd19e91c4c9bbe164632639767086b4a38f2d20e00010488b" }, "downloads": -1, "filename": "dj-database-url-0.2.0.tar.gz", "has_sig": false, "md5_digest": "faaf1e1f06f738f72ef964696c46e379", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1762, "upload_time": "2012-05-30T07:51:45", "url": "https://files.pythonhosted.org/packages/d6/cb/ab7fc10ea1e3571c34bcd74c3b3090e2d3c378d01ad79550fc967cd84114/dj-database-url-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "63ad283bb5931e8d3842e5b9edd7a1fd", "sha256": "f95c0b2e9e70cc246bd101720e1be492524ecf0dd5ea39241b51ef142faefecc" }, "downloads": -1, "filename": "dj-database-url-0.2.1.tar.gz", "has_sig": false, "md5_digest": "63ad283bb5931e8d3842e5b9edd7a1fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1876, "upload_time": "2012-06-19T17:54:26", "url": "https://files.pythonhosted.org/packages/a6/94/72572715f45dd132ddc1e26aa4e8c2b13395759386a541e7f00124ceda11/dj-database-url-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "ca96735f7e068a3e3414d3167122f927", "sha256": "492a7294b85ad8ac1b13be0b7337f381d2d44c4da185f289ab7c26dd765ef6cb" }, "downloads": -1, "filename": "dj-database-url-0.2.2.tar.gz", "has_sig": false, "md5_digest": "ca96735f7e068a3e3414d3167122f927", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2570, "upload_time": "2013-07-17T20:58:52", "url": "https://files.pythonhosted.org/packages/19/11/2867ccdaa0203ed14d9f725b26b6dd3264c4209a16d5bf0096597ecf9a7a/dj-database-url-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "58211401b11c49ba27deca8183c3061d", "sha256": "ca01768fdecde134301f3170743226f60edff5c3935f12437378ebd911506353" }, "downloads": -1, "filename": "dj_database_url-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "58211401b11c49ba27deca8183c3061d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4312, "upload_time": "2014-03-10T13:17:57", "url": "https://files.pythonhosted.org/packages/ef/b6/9283fcf61ced22bf90e7b4a84ba5b53d126b2c9b0dc9b667347698097026/dj_database_url-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28f89d403b565ee62dc25582852ae241", "sha256": "f2e273ed34acbb560962d5cf12917936d8df02297df09bd3089b8546d4584138" }, "downloads": -1, "filename": "dj-database-url-0.3.0.tar.gz", "has_sig": false, "md5_digest": "28f89d403b565ee62dc25582852ae241", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2747, "upload_time": "2014-03-10T13:17:19", "url": "https://files.pythonhosted.org/packages/e1/0e/2cceb7afb13cf784e385928530af59b49dd1524a76323e293f18ea28a6de/dj-database-url-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "e202f0d0cef45f1721e993e3cb7f23c4", "sha256": "858312abb7b330ea875733a65806a36ad04d7b8451c6ce8835118a2fa10d6870" }, "downloads": -1, "filename": "dj-database-url-0.4.0.tar.gz", "has_sig": false, "md5_digest": "e202f0d0cef45f1721e993e3cb7f23c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4015, "upload_time": "2016-02-03T23:33:02", "url": "https://files.pythonhosted.org/packages/64/d9/99774e3f66683ded1d3aa3f66045f671cefc0b550aca4ccfeaeeed4e074a/dj-database-url-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "c2c54d15d49c9b1a65908c3676c64a51", "sha256": "7f4c78d2a090df8dfaf56d5d3ff7bbee17360436e4879558317e2314424864cd" }, "downloads": -1, "filename": "dj-database-url-0.4.1.tar.gz", "has_sig": false, "md5_digest": "c2c54d15d49c9b1a65908c3676c64a51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4081, "upload_time": "2016-04-06T19:36:17", "url": "https://files.pythonhosted.org/packages/39/9f/30f937db9f9e7a4e4e3205682af4c34c65d647ff9850897ddfbbf5dc6178/dj-database-url-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "b2f129375959cf8cc8ca8b094fda21e3", "sha256": "e16d94c382ea0564c48038fa7fe8d9c890ef1ab1a8ec4cb48e732c124b9482fd" }, "downloads": -1, "filename": "dj_database_url-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b2f129375959cf8cc8ca8b094fda21e3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5573, "upload_time": "2017-01-05T17:47:42", "url": "https://files.pythonhosted.org/packages/91/84/50cbfabb91593cff18a37046986f7c2eb69224a694a52ae614711dfa11c6/dj_database_url-0.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4395ec2bd618407ba38b2645f2786c1f", "sha256": "a6832d8445ee9d788c5baa48aef8130bf61fdc442f7d9a548424d25cd85c9f08" }, "downloads": -1, "filename": "dj-database-url-0.4.2.tar.gz", "has_sig": false, "md5_digest": "4395ec2bd618407ba38b2645f2786c1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4268, "upload_time": "2017-01-05T17:47:41", "url": "https://files.pythonhosted.org/packages/c8/4b/b23dbcf4c5711f26e2222bb2e300915c9c8d35e643b0af00c2d8f36c9490/dj-database-url-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "dc96fcc71fe67570303493ac20a8f40f", "sha256": "851785365761ebe4994a921b433062309eb882fedd318e1b0fcecc607ed02da9" }, "downloads": -1, "filename": "dj_database_url-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dc96fcc71fe67570303493ac20a8f40f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5502, "upload_time": "2018-03-01T18:39:49", "url": "https://files.pythonhosted.org/packages/d4/a6/4b8578c1848690d0c307c7c0596af2077536c9ef2a04d42b00fabaa7e49d/dj_database_url-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eb9b3997e3a0ddfc38a25beef28f3b21", "sha256": "4aeaeb1f573c74835b0686a2b46b85990571159ffc21aa57ecd4d1e1cb334163" }, "downloads": -1, "filename": "dj-database-url-0.5.0.tar.gz", "has_sig": false, "md5_digest": "eb9b3997e3a0ddfc38a25beef28f3b21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5482, "upload_time": "2018-03-01T18:39:51", "url": "https://files.pythonhosted.org/packages/01/c4/98fbf678e810029be8078419f7bba626aafa2e81bc38748757db954c477c/dj-database-url-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dc96fcc71fe67570303493ac20a8f40f", "sha256": "851785365761ebe4994a921b433062309eb882fedd318e1b0fcecc607ed02da9" }, "downloads": -1, "filename": "dj_database_url-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dc96fcc71fe67570303493ac20a8f40f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5502, "upload_time": "2018-03-01T18:39:49", "url": "https://files.pythonhosted.org/packages/d4/a6/4b8578c1848690d0c307c7c0596af2077536c9ef2a04d42b00fabaa7e49d/dj_database_url-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eb9b3997e3a0ddfc38a25beef28f3b21", "sha256": "4aeaeb1f573c74835b0686a2b46b85990571159ffc21aa57ecd4d1e1cb334163" }, "downloads": -1, "filename": "dj-database-url-0.5.0.tar.gz", "has_sig": false, "md5_digest": "eb9b3997e3a0ddfc38a25beef28f3b21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5482, "upload_time": "2018-03-01T18:39:51", "url": "https://files.pythonhosted.org/packages/01/c4/98fbf678e810029be8078419f7bba626aafa2e81bc38748757db954c477c/dj-database-url-0.5.0.tar.gz" } ] }