{ "info": { "author": "MobilityDB Team", "author_email": "mohamed.bakli@ulb.ac.be", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# MobilityDB-Python\nMobilityDB helpers for PostgreSQL driver. \n\nInstall\n------------\n pip install MobilityDB\n\nRequirements\n------------\n - MobilityDB\n - PostgreSQL Driver (psycopg)\n - Python packages (postgis, bdateutil)\n\nUsage\n------------ \n1- Register MobilityDB extension in PostgreSQL driver:\n\n import MobilityDB\n connectionObject = psycopg2.connect(host='localhost', database='db', user='postgres', password='')\n MobilityDBRegister(connectionObject)\n\n2- Retrieve MobilityDB types as python objects:\n\n cursor.execute('SELECT tpoint from tpointseq;')\n colVal = cursor.fetchone()[0]\n print(colVal)\n\n --Result is an object of TGEOMPOINTSEQ type:\n --TGEOMPOINT(SEQUENCE)'[POINT(1.0 2.0)@2019-09-08 00:00:00+02:00, POINT(0.0 2.0)@2019-09-09 00:00:00+02:00, POINT(1.0 1.0)@2019-09-10 00:00:00+02:00]'\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mbakli/MobilityDB-Python", "keywords": "MobilityDB,Python", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "MobilityDB-Python", "package_url": "https://pypi.org/project/MobilityDB-Python/", "platform": "", "project_url": "https://pypi.org/project/MobilityDB-Python/", "project_urls": { "Homepage": "https://github.com/mbakli/MobilityDB-Python" }, "release_url": "https://pypi.org/project/MobilityDB-Python/1.0/", "requires_dist": null, "requires_python": "", "summary": "MobilityDB Driver", "version": "1.0" }, "last_serial": 5976892, "releases": { "0.1": [], "1.0": [] }, "urls": [] }