kapipy


Namekapipy JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryA python client for accessing and querying geospatial open data portals.
upload_time2025-07-14 17:23:55
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT
keywords koordinates linz geospatial open data api gis stats nz lris
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # kapipy
A python client for accessing and querying datasets from geospatial open data portals such as LINZ, Stats NZ and LRIS.

## Overview  
kapipy is a Python package that provides a python interface to the Koordinates geospatial content management system. It allows users to connect to a data portal, retrieve metadata, and query vector layers and tables. 

Github repository: [https://github.com/phaakma/kapipy](https://github.com/phaakma/kapipy)  

Documentation: [https://phaakma.github.io/kapipy/](https://phaakma.github.io/kapipy/)  

## Installation  

```bash
pip install kapipy
```

## Basic Usage  

* Import kapipy.  
* Create a GISK object, passing in an api key.  
* Get a reference to an item using {gis}.content.get({layer_id})
* Perform actions on the item.  

Basic example:  
```python
from kapipy.gis import GISK
linz = GISK(name="linz", api_key="my-linz-api-key")
rail_station_layer_id = "50318"
itm = linz.content.get(rail_station_layer_id)
data = itm.query()
data.df.head()
```

## Disclaimer  
Kapipy is provided as-is. The author has no affiliation with either Koordinates nor LINZ, Stats NZ or LRIS. As such, the underlying API's and services may change at any time without warning and break these modules.  

This project does not cover the full spectrum of the Koordinates API and probably never will. It focuses currently on basic workflows such as connecting using an api key, getting references to datasets and downloading them.  

Suggestions and bug reports can be made by submitting issues via the GitHub page.  

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "kapipy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "koordinates, LINZ, geospatial, open data, API, GIS, Stats NZ, LRIS",
    "author": null,
    "author_email": "Paul Haakma <phaakma@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/2b/13/493940bdb76c81cb45fe4715809f29c497195f3ae21e006fed0c9619c832/kapipy-0.2.0.tar.gz",
    "platform": null,
    "description": "# kapipy\nA python client for accessing and querying datasets from geospatial open data portals such as LINZ, Stats NZ and LRIS.\n\n## Overview  \nkapipy is a Python package that provides a python interface to the Koordinates geospatial content management system. It allows users to connect to a data portal, retrieve metadata, and query vector layers and tables. \n\nGithub repository: [https://github.com/phaakma/kapipy](https://github.com/phaakma/kapipy)  \n\nDocumentation: [https://phaakma.github.io/kapipy/](https://phaakma.github.io/kapipy/)  \n\n## Installation  \n\n```bash\npip install kapipy\n```\n\n## Basic Usage  \n\n* Import kapipy.  \n* Create a GISK object, passing in an api key.  \n* Get a reference to an item using {gis}.content.get({layer_id})\n* Perform actions on the item.  \n\nBasic example:  \n```python\nfrom kapipy.gis import GISK\nlinz = GISK(name=\"linz\", api_key=\"my-linz-api-key\")\nrail_station_layer_id = \"50318\"\nitm = linz.content.get(rail_station_layer_id)\ndata = itm.query()\ndata.df.head()\n```\n\n## Disclaimer  \nKapipy is provided as-is. The author has no affiliation with either Koordinates nor LINZ, Stats NZ or LRIS. As such, the underlying API's and services may change at any time without warning and break these modules.  \n\nThis project does not cover the full spectrum of the Koordinates API and probably never will. It focuses currently on basic workflows such as connecting using an api key, getting references to datasets and downloading them.  \n\nSuggestions and bug reports can be made by submitting issues via the GitHub page.  \n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A python client for accessing and querying geospatial open data portals.",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [
        "koordinates",
        " linz",
        " geospatial",
        " open data",
        " api",
        " gis",
        " stats nz",
        " lris"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d8bbf41aaf2c6405086534177bd84918c1c5d2ee9ed49ceae57e939ecc8b2743",
                "md5": "4c88cadebc7d56266565b25ea99e71bf",
                "sha256": "cce4dd3792e486d556dbaf49d718d30ed06fcbf3c261e1b83f15e326e8e49fcf"
            },
            "downloads": -1,
            "filename": "kapipy-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4c88cadebc7d56266565b25ea99e71bf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 37027,
            "upload_time": "2025-07-14T17:23:54",
            "upload_time_iso_8601": "2025-07-14T17:23:54.840428Z",
            "url": "https://files.pythonhosted.org/packages/d8/bb/f41aaf2c6405086534177bd84918c1c5d2ee9ed49ceae57e939ecc8b2743/kapipy-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2b13493940bdb76c81cb45fe4715809f29c497195f3ae21e006fed0c9619c832",
                "md5": "b4fb57db26d427a810de3f60b07bcb5f",
                "sha256": "f37932d70dddb032e1f13fcfd4152ddfc0ada0087556f4d518d380022533b85a"
            },
            "downloads": -1,
            "filename": "kapipy-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b4fb57db26d427a810de3f60b07bcb5f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 35627,
            "upload_time": "2025-07-14T17:23:55",
            "upload_time_iso_8601": "2025-07-14T17:23:55.898048Z",
            "url": "https://files.pythonhosted.org/packages/2b/13/493940bdb76c81cb45fe4715809f29c497195f3ae21e006fed0c9619c832/kapipy-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-14 17:23:55",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "kapipy"
}
        
Elapsed time: 1.60123s