{ "info": { "author": "Devon Campbell", "author_email": "devon.campbell@gridsmart.com", "bugtrack_url": null, "classifiers": [], "description": "Installation\n============\n\nRun ``pip install psycopg2-contextmanager``\n\nUsage\n=====\n\n::\n\n from psycopg2_contextmanager import database_connection\n\n with database_connection() as cursor:\n cursor.execute()\n\nCommits are handled automatically. If the query fails, the package will log the exception along with the line ``Unable to run query`` and re-raise it.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.gridsmart.com/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "psycopg2-contextmanager", "package_url": "https://pypi.org/project/psycopg2-contextmanager/", "platform": "", "project_url": "https://pypi.org/project/psycopg2-contextmanager/", "project_urls": { "Homepage": "https://www.gridsmart.com/" }, "release_url": "https://pypi.org/project/psycopg2-contextmanager/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "Minimal psycopg2 wrapper for easier interfacing with databases", "version": "1.0.3" }, "last_serial": 3582510, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "1cc3f206a1af70165b5294218528dc95", "sha256": "a11823b788ab12ba7a3da6cfacf1faf1121ff494d6dc2355e08adada8ca5b9c8" }, "downloads": -1, "filename": "psycopg2-contextmanager-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1cc3f206a1af70165b5294218528dc95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1747, "upload_time": "2017-10-02T20:45:07", "url": "https://files.pythonhosted.org/packages/4a/2d/3a61a33d5032a83f95c1fcd2ba85c9ae2f10f12fd7adcf49bd9b599550e2/psycopg2-contextmanager-0.1.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "c14740f99daf11ab9f8ee27543f59060", "sha256": "108e7f0418ee298f4aaf98408ea3a89376c8418016ebefbcd635c31c5af0361d" }, "downloads": -1, "filename": "psycopg2-contextmanager-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c14740f99daf11ab9f8ee27543f59060", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1718, "upload_time": "2017-10-03T13:26:52", "url": "https://files.pythonhosted.org/packages/ab/24/d5c008f68fd8dd3ddc5d9fb13826b3c82c12f6d261417d283e9285c356d9/psycopg2-contextmanager-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "3637baccb430fa5be8cab90e5951266e", "sha256": "5061cf2488ab7b2c6676ed37cf630e2749fd1e03bf76c072bc7d3e8eaa4c2f47" }, "downloads": -1, "filename": "psycopg2-contextmanager-1.0.1.tar.gz", "has_sig": false, "md5_digest": "3637baccb430fa5be8cab90e5951266e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1717, "upload_time": "2017-10-03T13:29:01", "url": "https://files.pythonhosted.org/packages/df/1d/a667a8ef8769aa0c86c6187164afab16c2570c897234832120fe5a5689c9/psycopg2-contextmanager-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "b6f62396cdfde3008186953300b7c66e", "sha256": "ff1156885ffaf2417b11e9d7c9598d58e3d29e81f24d70a9918e8cefc5ebf904" }, "downloads": -1, "filename": "psycopg2-contextmanager-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b6f62396cdfde3008186953300b7c66e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1716, "upload_time": "2017-10-03T13:30:53", "url": "https://files.pythonhosted.org/packages/29/cd/cdda8b5d43a280096455059d9eaa151ddc2e9fc42f7c22e92ec8ff3c4674/psycopg2-contextmanager-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "c04142dd7fe2b6b802588573b98f612d", "sha256": "5ee365b6eb829394933ad076c6b5ddd50d3c9ac475eac09b7adacd7358e57a20" }, "downloads": -1, "filename": "psycopg2-contextmanager-1.0.3.tar.gz", "has_sig": false, "md5_digest": "c04142dd7fe2b6b802588573b98f612d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2066, "upload_time": "2018-02-14T21:14:41", "url": "https://files.pythonhosted.org/packages/9e/88/e47a84bb3e316fefa6cf4aa22a134ba1acfd9738e869a204e5066f83587e/psycopg2-contextmanager-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c04142dd7fe2b6b802588573b98f612d", "sha256": "5ee365b6eb829394933ad076c6b5ddd50d3c9ac475eac09b7adacd7358e57a20" }, "downloads": -1, "filename": "psycopg2-contextmanager-1.0.3.tar.gz", "has_sig": false, "md5_digest": "c04142dd7fe2b6b802588573b98f612d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2066, "upload_time": "2018-02-14T21:14:41", "url": "https://files.pythonhosted.org/packages/9e/88/e47a84bb3e316fefa6cf4aa22a134ba1acfd9738e869a204e5066f83587e/psycopg2-contextmanager-1.0.3.tar.gz" } ] }