{ "info": { "author": "Andreas Runfalk", "author_email": "andreas@runfalk.se", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Database", "Topic :: Utilities" ], "description": "PsycoSpans\n==========\nPsycospans brings support for `Spans `_ to\n`Psycopg2 `_.\n\nPsycopSpans work by wrapping psycopg2's ``connect()`` function and set the\nconnection up for handling Spans' range types.\n\n.. code-block:: python\n\n from psycospans import connect\n\n conn = connect(\"dbname=test\")\n cur = conn.cursor()\n\n test_range = intrange(1, 10)\n cur.execute(\"SELECT int4range(5, NULL), %s\", (test_range,))\n\n other_range, test_range_cmp = cur.fetchone()\n\n test_range == test_range_cmp # True\n other_range == intrange(5) # True\n\n\nRequirements\n------------\nPsycospans will only work with PostgreSQL 9.2 or later.\n\n\nInstallation\n------------\nPsycospans exists on PyPI. Note that you must install ``psycopg2`` manually.\nThis is because you may use either ``psycopg2`` or ``psycopg2-binary``.\n\n::\n\n pip install psycospans psycopg2-binary\n\n\nDocumentation\n-------------\nFor full doumentation please run ``pydoc psycospans`` from a shell.\n\n\nChangelog\n=========\n\nVersion 1.0.0\n-------------\nReleased on 9th October 2018\n\n- Added wheel\n- Moved unit tests out of package\n- Removed explicit dependency on ``psycopg2`` since one may want to use\n ``psycopg2-binary``\n- Removed Python 3.3 support. Requires 2.7 or 3.4 or greater\n- Removed Tox usage for development\n- Use pytest to run test suite\n\n\nVersion 0.1.1\n-------------\nReleased on 23rd August 2018\n\n- Fixed compatibility issue with Psycopg >= 2.5\n- Improved Python 3 compatibility\n\n\nVersion 0.1.0\n-------------\nReleased on 12th June 2014\n\n- Initial release\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.github.com/runfalk/psycospans", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "PsycoSpans", "package_url": "https://pypi.org/project/PsycoSpans/", "platform": "", "project_url": "https://pypi.org/project/PsycoSpans/", "project_urls": { "Homepage": "https://www.github.com/runfalk/psycospans" }, "release_url": "https://pypi.org/project/PsycoSpans/1.0.0/", "requires_dist": [ "spans", "psycopg2-binary; extra == 'dev'", "pytest; extra == 'dev'" ], "requires_python": "", "summary": "Psycopg2 support for the Spans library", "version": "1.0.0" }, "last_serial": 4355993, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d1a1f05777fe4f64bcdeed077921ffee", "sha256": "4b1c9e68795fcc53f6f9fcd5d24354ab5bc594d13a7d11ec750a74d36826a97d" }, "downloads": -1, "filename": "PsycoSpans-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d1a1f05777fe4f64bcdeed077921ffee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6838, "upload_time": "2014-06-12T15:08:46", "url": "https://files.pythonhosted.org/packages/65/dd/316d21844c0cf79d93214da44ab0c00ce98f7df3b46651186a80c22e86fb/PsycoSpans-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "28c04421a661ad721d08f2d955416fbc", "sha256": "e508f737e2f3778645f4c7d9e080ff97bcef99a2b7e198fadcfa95778a2c4bd3" }, "downloads": -1, "filename": "PsycoSpans-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "28c04421a661ad721d08f2d955416fbc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6970, "upload_time": "2018-08-23T19:15:34", "url": "https://files.pythonhosted.org/packages/20/c6/7da12f64cc5472dceda54867d86ae55128361c47a84c5900e8a092e5893e/PsycoSpans-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a789281f14cfd8f676b1fe0a26ab6fa", "sha256": "f03785e05fd54b745989753763832c0f42e07cbb40f7e636e30aab830653a1a0" }, "downloads": -1, "filename": "PsycoSpans-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5a789281f14cfd8f676b1fe0a26ab6fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6818, "upload_time": "2018-08-23T19:15:35", "url": "https://files.pythonhosted.org/packages/67/de/8453318dc7db10f218f02f6aadaa58311f2ce53c7aeef0497d8c8cbe6ef7/PsycoSpans-0.1.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "d9397e4532eab2fb3291a3f9eb85e7ce", "sha256": "ddeca23024bc4d4a5875aea8738fde3a15142392e37448fbd3ac19a48e218659" }, "downloads": -1, "filename": "PsycoSpans-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d9397e4532eab2fb3291a3f9eb85e7ce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5742, "upload_time": "2018-10-09T14:15:29", "url": "https://files.pythonhosted.org/packages/db/cf/45d0b4202e06793675a91f5b62804f201431c281b9c36e8843c8f5cb61cb/PsycoSpans-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "977a6d95f416fa11b70aed4b8d3b0800", "sha256": "430a6a3efbb0ee35d732b624e13cb5ddbe66d803696c466c5274823aad81da98" }, "downloads": -1, "filename": "PsycoSpans-1.0.0.tar.gz", "has_sig": false, "md5_digest": "977a6d95f416fa11b70aed4b8d3b0800", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6699, "upload_time": "2018-10-09T14:15:30", "url": "https://files.pythonhosted.org/packages/c4/c7/33a1b57c8cd71dc2521e53da53129da70557ee7e52dd8c3420032a89b127/PsycoSpans-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d9397e4532eab2fb3291a3f9eb85e7ce", "sha256": "ddeca23024bc4d4a5875aea8738fde3a15142392e37448fbd3ac19a48e218659" }, "downloads": -1, "filename": "PsycoSpans-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d9397e4532eab2fb3291a3f9eb85e7ce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5742, "upload_time": "2018-10-09T14:15:29", "url": "https://files.pythonhosted.org/packages/db/cf/45d0b4202e06793675a91f5b62804f201431c281b9c36e8843c8f5cb61cb/PsycoSpans-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "977a6d95f416fa11b70aed4b8d3b0800", "sha256": "430a6a3efbb0ee35d732b624e13cb5ddbe66d803696c466c5274823aad81da98" }, "downloads": -1, "filename": "PsycoSpans-1.0.0.tar.gz", "has_sig": false, "md5_digest": "977a6d95f416fa11b70aed4b8d3b0800", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6699, "upload_time": "2018-10-09T14:15:30", "url": "https://files.pythonhosted.org/packages/c4/c7/33a1b57c8cd71dc2521e53da53129da70557ee7e52dd8c3420032a89b127/PsycoSpans-1.0.0.tar.gz" } ] }