{ "info": { "author": "Tom Kralidis", "author_email": "tomkralidis@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Scientific/Engineering :: GIS" ], "description": "pygeoapi\n========\n\n|Build Status|\n\npygeoapi provides an API to geospatial data\n\nInstallation\n------------\n\n.. code:: bash\n\n virtualenv -p python pygeoapi\n cd pygeoapi\n . bin/activate\n git clone https://github.com/geopython/pygeoapi.git\n cd pygeoapi\n pip install -r requirements.txt\n pip install -r requirements-dev.txt\n pip install -e .\n cp pygeoapi-config.yml local.config.yml\n vi local.config.yml\n # TODO: what is most important to edit?\n export PYGEOAPI_CONFIG=/path/to/local.config.yml\n # generate OpenAPI Document\n pygeoapi generate-openapi-document -c local.config.yml > openapi.yml\n export PYGEOAPI_OPENAPI=/path/to/openapi.yml\n pygeoapi serve\n\nExample requests\n----------------\n\nTry the swagger ui at ``http://localhost:5000/ui``\n\nor\n\n.. code:: bash\n\n # feature collection metadata\n curl http://localhost:5000/\n # conformance\n curl http://localhost:5000/conformance\n # feature collection\n curl http://localhost:5000/collections/countries\n # feature collection limit 100\n curl http://localhost:5000/collections/countries/items?limit=100\n # feature\n curl http://localhost:5000/collections/countries/items/1\n # number of hits\n curl http://localhost:5000/collections/countries/items?resulttype=hits\n\nExploring with Swagger UI\n-------------------------\n\n.. code:: bash\n\n docker pull swaggerapi/swagger-ui\n docker run -p 80:8080 swaggerapi/swagger-ui\n # go to http://localhost\n # enter http://localhost:5000/api and click 'Explore'\n\nDemo Server\n-----------\n\nThere is a demo server on https://demo.pygeoapi.io running the latest\n(Docker) version from the ``master`` branch of this repo. ``pygeoapi``\nruns there at https://demo.pygeoapi.io/master.\n\nThe demo server setup and config is maintained within a seperate GH\nrepo: https://github.com/geopython/demo.pygeoapi.io.\n\nDocker\n------\n\nBest/easiest way to run ``pygeoapi`` is to use Docker. On DockerHub\n`pygeoapi Docker\nImages `__\nare available.\n\nThe version tagged ``latest`` is automatically built whenever code in\nthe ``master`` branch of this GitHub repo changes (autobuild). This also\ncascades to updating the `pygeoapi demo\nservice `__. So the chain is:\n\n::\n\n (git push to master) --> (DockerHub Image autobuild) --> (demo server redeploy)\n\nPlease read the\n`docker/README `__\nfor details of the Docker implementation. To get started quickly\n`several\nexamples `__\nwill get you up and running.\n\nUnit Testing\n~~~~~~~~~~~~\n\nUnit tests are run using ``pytest`` from the top project folder:\n\n::\n\n pytest tests\n\nNB beware that some tests require Provider dependencies (libraries) to\nbe available and that the ElasticSearch and Postgres tests require their\nrespective backend servers running.\n\nEnvironment variables are set in the file `pytest.ini `__.\n\n.. |Build Status| image:: https://travis-ci.org/geopython/pygeoapi.png\n :target: https://travis-ci.org/geopython/pygeoapi\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pygeoapi.io", "keywords": "geospatial data api", "license": "MIT", "maintainer": "Tom Kralidis", "maintainer_email": "tomkralidis@gmail.com", "name": "pygeoapi", "package_url": "https://pypi.org/project/pygeoapi/", "platform": "all", "project_url": "https://pypi.org/project/pygeoapi/", "project_urls": { "Homepage": "https://pygeoapi.io" }, "release_url": "https://pypi.org/project/pygeoapi/0.6.0/", "requires_dist": [ "click", "Flask", "PyYAML", "unicodecsv" ], "requires_python": "", "summary": "pygeoapi provides an API to geospatial data", "version": "0.6.0" }, "last_serial": 5967393, "releases": { "0.6.0": [ { "comment_text": "", "digests": { "md5": "268a91000176164ef1860ea546947989", "sha256": "c2064584929a69e9c73e508dec428ec5132649d5b8b1dd7f97f967c349d30c94" }, "downloads": -1, "filename": "pygeoapi-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "268a91000176164ef1860ea546947989", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 59777, "upload_time": "2019-10-13T13:21:45", "url": "https://files.pythonhosted.org/packages/59/81/6d6f90bf1bbb22578dff079bfd74aaa2d496a79680666e8bf7c24e121cf3/pygeoapi-0.6.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "164cce346703a438d5581b16864173fb", "sha256": "852beb2fc0b2105f72b9c0bec9144cdbae00eaae7632b13af7d72705c489d48d" }, "downloads": -1, "filename": "pygeoapi-0.6.0.tar.gz", "has_sig": false, "md5_digest": "164cce346703a438d5581b16864173fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34136, "upload_time": "2019-10-13T13:21:47", "url": "https://files.pythonhosted.org/packages/51/32/16c61dba3492eb931b2a25e260a05392f3ce3df467fd5e4b21c372485c3b/pygeoapi-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "268a91000176164ef1860ea546947989", "sha256": "c2064584929a69e9c73e508dec428ec5132649d5b8b1dd7f97f967c349d30c94" }, "downloads": -1, "filename": "pygeoapi-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "268a91000176164ef1860ea546947989", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 59777, "upload_time": "2019-10-13T13:21:45", "url": "https://files.pythonhosted.org/packages/59/81/6d6f90bf1bbb22578dff079bfd74aaa2d496a79680666e8bf7c24e121cf3/pygeoapi-0.6.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "164cce346703a438d5581b16864173fb", "sha256": "852beb2fc0b2105f72b9c0bec9144cdbae00eaae7632b13af7d72705c489d48d" }, "downloads": -1, "filename": "pygeoapi-0.6.0.tar.gz", "has_sig": false, "md5_digest": "164cce346703a438d5581b16864173fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34136, "upload_time": "2019-10-13T13:21:47", "url": "https://files.pythonhosted.org/packages/51/32/16c61dba3492eb931b2a25e260a05392f3ce3df467fd5e4b21c372485c3b/pygeoapi-0.6.0.tar.gz" } ] }