{ "info": { "author": "Aaron Burgess", "author_email": "geoburge@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# GeoPandas-Postgis\n\nUtilities oriented to using PostGIS features.\n\n## Install\n\n```python\npip install geopandas-postgis\n```\n\n## Requirements\n\n* GeoPandas\n* GeoAlchemy2\n* SQLAlchemy\n* psycopg2\n\n## Usage\n\nCurrently, the ```postgis``` accessor only features a ```to_postgis``` method.\n\n```python\nimport geopandas as gpd\nfrom sqlalchemy import create_engine\n\nfrom geopandas_postgis import PostGIS\n\nengine = create_engine(\"postgresql+psycopg2://postgres:postgres/localhost:test\")\nmy_gdf = geopandas.read_file(\"my_shp.shp\")\nmy_gdf.postgis.to_postgis(con=engine, table_name='test', geometry='Polygon')\n```\n\nThe ```to_postgis``` method will accept any keyword argument in the to_sql method in ```pandas```\n\n## Testing\n\nPostgres needs to be running on your local machine with a postgres user (that has write access.) This will be moved to Docker over time.\n\n## License\n\nMIT License\n\nCopyright (c) 2018 Aaron Burgess\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "geopandas-postgis", "package_url": "https://pypi.org/project/geopandas-postgis/", "platform": "", "project_url": "https://pypi.org/project/geopandas-postgis/", "project_urls": null, "release_url": "https://pypi.org/project/geopandas-postgis/0.1.1/", "requires_dist": [ "SQLAlchemy", "GeoAlchemy2", "geopandas", "psycopg2" ], "requires_python": "", "summary": "Adds additional postgis functionality to GeoPandas", "version": "0.1.1" }, "last_serial": 4203920, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "a8d559fefcd5d25f2c5b0c6ba6ed42c1", "sha256": "7507983bdd264165eacd487ebedad80ebb8ff027afc2776a1a2887e61bd3119f" }, "downloads": -1, "filename": "geopandas_postgis-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a8d559fefcd5d25f2c5b0c6ba6ed42c1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5093, "upload_time": "2018-08-24T14:21:26", "url": "https://files.pythonhosted.org/packages/cb/79/b65d3d3c1e71d15c5cdd0a6f895fae54d2994f43cf9d33e52c91a946cc9a/geopandas_postgis-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ddf947f59f5cc2f3132048d96d31292", "sha256": "78686b490722371f3c3b8e06fa0451c3536d53c26951b6a6566b4e1ebef3eab4" }, "downloads": -1, "filename": "geopandas-postgis-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1ddf947f59f5cc2f3132048d96d31292", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3965, "upload_time": "2018-08-24T14:21:27", "url": "https://files.pythonhosted.org/packages/41/71/4c377bfaea4952c216dd40b6cb025a0327fdc52bedd784d6bec5c819c2a8/geopandas-postgis-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a8d559fefcd5d25f2c5b0c6ba6ed42c1", "sha256": "7507983bdd264165eacd487ebedad80ebb8ff027afc2776a1a2887e61bd3119f" }, "downloads": -1, "filename": "geopandas_postgis-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a8d559fefcd5d25f2c5b0c6ba6ed42c1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5093, "upload_time": "2018-08-24T14:21:26", "url": "https://files.pythonhosted.org/packages/cb/79/b65d3d3c1e71d15c5cdd0a6f895fae54d2994f43cf9d33e52c91a946cc9a/geopandas_postgis-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ddf947f59f5cc2f3132048d96d31292", "sha256": "78686b490722371f3c3b8e06fa0451c3536d53c26951b6a6566b4e1ebef3eab4" }, "downloads": -1, "filename": "geopandas-postgis-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1ddf947f59f5cc2f3132048d96d31292", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3965, "upload_time": "2018-08-24T14:21:27", "url": "https://files.pythonhosted.org/packages/41/71/4c377bfaea4952c216dd40b6cb025a0327fdc52bedd784d6bec5c819c2a8/geopandas-postgis-0.1.1.tar.gz" } ] }