{ "info": { "author": "Neil Albrock", "author_email": "neil@atomised.coop", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "pw-database-url\n~~~~~~~~~~~~~~~\n\nThis simple Python utility allows you to utilize the\n`12factor `_ inspired\n``DATABASE_URL`` environment variable to configure your Peewee ORM application.\n\nAll credit goes to Kenneth Reitz for this one, as it's a direct\nport of his dj-database-url utility for Django apps.\n\n\nUsage\n-----\n\nConfigure your database from ``DATABASE_URL``::\n\n DATABASE = pw_database_url.config()\n\nParse an arbitrary Database URL::\n\n DATABASE = pw_database_url.parse('postgres://...')\n\nSupported databases\n-------------------\n\nSupport currently exists for PostgreSQL, MySQL and SQLite.\n\nIn addition, support for Postgres specific features can be enabled by using the\n``postgresext://`` pattern. This will give you access to the HStoreField type.\nSee the `peewee docs `_ for usage information and examples.\n\nSQLite connects to file based databases. The same URL format is used, omitting\nthe hostname, and using the \"file\" portion as the filename of the database.\nThis has the effect of four slashes being present for an absolute file path:\n``sqlite:////full/path/to/your/database/file.sqlite``.", "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/neilalbrock/pw-database-url", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "pw-database-url", "package_url": "https://pypi.org/project/pw-database-url/", "platform": "any", "project_url": "https://pypi.org/project/pw-database-url/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/neilalbrock/pw-database-url" }, "release_url": "https://pypi.org/project/pw-database-url/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Use Database URLs in your Peewee ORM application.", "version": "0.2.0" }, "last_serial": 796818, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "69b438cf0b2dc10dee8ce398ed1cc0c8", "sha256": "f503455bd7575312c09b7bc4a6bbdb929f049be2fbff671106544b91da974e3f" }, "downloads": -1, "filename": "pw-database-url-0.1.0.tar.gz", "has_sig": false, "md5_digest": "69b438cf0b2dc10dee8ce398ed1cc0c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2163, "upload_time": "2012-09-18T18:40:06", "url": "https://files.pythonhosted.org/packages/7b/71/0a74765ca4a4b66b689da27d2086d763784ac8c036ef24e592bbc4963a36/pw-database-url-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "9ff948f8643d48ceecec34ed0604d0f1", "sha256": "24a0a2ef935cb591ac5e56b388ee89de1b7fe9935629bc783bec89589015413a" }, "downloads": -1, "filename": "pw-database-url-0.2.0.tar.gz", "has_sig": false, "md5_digest": "9ff948f8643d48ceecec34ed0604d0f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2360, "upload_time": "2013-02-10T21:21:27", "url": "https://files.pythonhosted.org/packages/cd/31/746fc73803f3acb344802e02ca9a52c6cf4738f987833764fea3cf456293/pw-database-url-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9ff948f8643d48ceecec34ed0604d0f1", "sha256": "24a0a2ef935cb591ac5e56b388ee89de1b7fe9935629bc783bec89589015413a" }, "downloads": -1, "filename": "pw-database-url-0.2.0.tar.gz", "has_sig": false, "md5_digest": "9ff948f8643d48ceecec34ed0604d0f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2360, "upload_time": "2013-02-10T21:21:27", "url": "https://files.pythonhosted.org/packages/cd/31/746fc73803f3acb344802e02ca9a52c6cf4738f987833764fea3cf456293/pw-database-url-0.2.0.tar.gz" } ] }