{ "info": { "author": "Adam Valair, Greg Sebastian", "author_email": "adam@bitspatial.com, gregseb@protonmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Scientific/Engineering :: GIS" ], "description": "Python Geomark\n==============\n\n|Build Status|\n\nA small python library that provides implementations of the BC\nGovernments `Geomark Web\nService `__\n\nInstallation\n------------\n\nOption 1 - Clone this repository and install manually\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n1. We will do our best to keep the master branch of this repository\n stable. However you could also checkout the tag corresponding to the\n release you would like...\n\n ``git clone https://github.com/greg-and-adam/python-geomark.git``\n\n2. the cd into the directory where this repository was cloned\n\n ``cd /path/to/python-geomark``\n\n3. Install using setup.py\n\n ``python setup.py install``\n\n4. **Or...** Follow step 1 above then install using pip\n\n ``pip install /path/to/cloned/python-geomark``\n\nTODO List more installation methods here as they become supported...\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nUsage\n-----\n\nA Geomark object can be instantiated with either a Geomark ID or a full\nGeomark URL.\n\nWe recommend using the Geomark ID.\n\n.. code:: python\n\n\n from geomark import Geomark\n\n gm = Geomark('gm-abcdefghijklmnopqrstuv0bcislands')\n # or...\n gm = Geomark('https://apps.gov.bc.ca/pub/geomark/geomarks/gm-abcdefghijklmnopqrstuv0bcislands')\n\nThis library supports all of the basic read functions from the Geomark\nAPI.\n\nReponse results are returned as a bytes string. It can be parsed using\nthe appropriate library.\n\nThe default format is 'json' which will return a json parsable byte\nstring. When using the JSON format any geometries will be formatted as\nEWKT.\n\nAny of the `supported file\nformats `__\nmay be requested.\n\n.. code:: python\n\n\n import json\n from geomark import Geomark\n\n gm = Geomark('gm-abcdefghijklmnopqrstuv0bcislands')\n\n info = json.loads(gm.info())\n parts = json.loads(gm.parts('geojson')) # geojson is also supported.\n\nData can also be requested in any of the `supported coordinate\nsystems `__.\n\n.. code:: python\n\n import json\n from geomark import Geomark\n\n gm = Geomark('gm-abcdefghijklmnopqrstuv0bcislands')\n parts_bcalbers = json.loads(gm.parts('geojson', 3005))\n\nIf you get data in a format you wish to write to a file you may do so by\nsimply opening a file location as writable in binary mode. (wb)\n\n.. code:: python\n\n from geomark import Geomark\n\n gm = Geomark('gm-abcdefghijklmnopqrstuv0bcislands')\n feature_file = gm.feature('shpz')\n\n with open('bc_islands.shpz', 'wb') as file:\n file.write(feature_file)\n\nTesting\n-------\n\nUsing tox\n~~~~~~~~~\n\nThe recommended way to run the tests is by using\n`tox `__, which can be installed\nusing\\ ``pip install tox``.\n\nYou can use ``tox -l`` to list the available environments, and then e.g.\nuse the following to run all tests with Python 3.6\n\n::\n\n tox -e py36\n\nRunning tests manually\n~~~~~~~~~~~~~~~~~~~~~~\n\nPlease refer to the `tox.ini `__ file for reference/help in\ncase you want to run tests manually / without tox.\n\nContributing\n------------\n\n1. Fork it!\n2. Create your feature branch: ``git checkout -b my-new-feature``\n3. Commit your changes: ``git commit -am 'Add some feature'``\n4. Push to the branch: ``git push origin my-new-feature``\n5. Submit a pull request :D\n\nHistory\n-------\n\nRecent changes can be viewed in the `CHANGELOG.md `__\nfile.\n\nCredits\n-------\n\n- `Adam Valair `__ (Primary\n Developer/Maintainer)\n- `Greg Sebastian `__ (Primary\n Developer/Maintainer)\n\nLicense\n-------\n\nThis project is licensed under the BSD 3-Clause License - see the\n`LICENSE `__ file for details\n\n.. |Build Status| image:: https://travis-ci.org/pauperpythonistas/python-geomark.svg?branch=master\n :target: https://travis-ci.org/pauperpythonistas/python-geomark\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/pauperpythonistas/python-geomark/archive/0.1.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pauperpythonistas/python-geomark/", "keywords": "", "license": "BSD2", "maintainer": "", "maintainer_email": "", "name": "geomark", "package_url": "https://pypi.org/project/geomark/", "platform": "", "project_url": "https://pypi.org/project/geomark/", "project_urls": { "Download": "https://github.com/pauperpythonistas/python-geomark/archive/0.1.1.tar.gz", "Homepage": "https://github.com/pauperpythonistas/python-geomark/" }, "release_url": "https://pypi.org/project/geomark/0.1.1/", "requires_dist": [ "requests (<2.19.0,>=2.18.1)" ], "requires_python": "", "summary": "Tools for manipulating Geomark datasets", "version": "0.1.1" }, "last_serial": 3446158, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2f693a8dbf2e0b64b3c12e6ce4a1ed12", "sha256": "1de34459a77dfc78ff23a1ce8015fa60e64eebc3f9875e7c45b52586d921cb3c" }, "downloads": -1, "filename": "geomark-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2f693a8dbf2e0b64b3c12e6ce4a1ed12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11438, "upload_time": "2017-12-27T21:10:51", "url": "https://files.pythonhosted.org/packages/ea/db/eedf9d5aabf59e65ef837758410bfa05034a4311b9d79043e9bde55b8722/geomark-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2ef6e9b7b0375b8285487ae53a7897c1", "sha256": "aedee528cf15eaf016fe72949992e226fa5d0e1d33e4ee94279023535cd2f445" }, "downloads": -1, "filename": "geomark-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ef6e9b7b0375b8285487ae53a7897c1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15478, "upload_time": "2017-12-27T21:42:05", "url": "https://files.pythonhosted.org/packages/54/65/cae987abf41f2f3221933b3764a70dab4e6d1dd1ab5a77302b69b3f1b6eb/geomark-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3c2bfa95ef662dc2c125add57cd6f70c", "sha256": "002ff27cd3581d120b77b90ad174e0318327d061f4564a088fbe1c43009cf9a5" }, "downloads": -1, "filename": "geomark-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3c2bfa95ef662dc2c125add57cd6f70c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11502, "upload_time": "2017-12-27T21:42:10", "url": "https://files.pythonhosted.org/packages/4e/5c/b7df66627cefcb1a7efdd3c32342d974e032462969bcac0fd4127dd21174/geomark-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2ef6e9b7b0375b8285487ae53a7897c1", "sha256": "aedee528cf15eaf016fe72949992e226fa5d0e1d33e4ee94279023535cd2f445" }, "downloads": -1, "filename": "geomark-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ef6e9b7b0375b8285487ae53a7897c1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15478, "upload_time": "2017-12-27T21:42:05", "url": "https://files.pythonhosted.org/packages/54/65/cae987abf41f2f3221933b3764a70dab4e6d1dd1ab5a77302b69b3f1b6eb/geomark-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3c2bfa95ef662dc2c125add57cd6f70c", "sha256": "002ff27cd3581d120b77b90ad174e0318327d061f4564a088fbe1c43009cf9a5" }, "downloads": -1, "filename": "geomark-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3c2bfa95ef662dc2c125add57cd6f70c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11502, "upload_time": "2017-12-27T21:42:10", "url": "https://files.pythonhosted.org/packages/4e/5c/b7df66627cefcb1a7efdd3c32342d974e032462969bcac0fd4127dd21174/geomark-0.1.1.tar.gz" } ] }