Metadata-Version: 2.4
Name: nzshm-common
Version: 0.10.0
Summary: A small pure python library for shared NZ NSHM data like locations.
Project-URL: Homepage, https://github.com/GNS-Science/nzshm-common-py
Project-URL: Documentation, https://gns-science.github.io/nzshm-common-py
Project-URL: Issues, https://github.com/GNS-Science/nzshm-common-py/issues
Project-URL: Changelog, https://github.com/GNS-Science/nzshm-common-py/blob/main/CHANGELOG.md
Author-email: Chris B Chamberlain <chrisbc@artisan.co.nz>, Chris DiCaprio <christopher.dicaprio@gmail.com>, Oakley Jurgens <oakley.jurgens@gmail.com>, NSHM Compute Working Group <nshm@gns.cri.nz>
License-Expression: AGPL-3.0-or-later
License-File: LICENSE
Requires-Python: <4.0,>=3.10
Provides-Extra: geometry
Requires-Dist: shapely; extra == 'geometry'
Description-Content-Type: text/markdown

# nzshm-common

A pure python library of shared objects used in nzshm projects

[![pypi](https://img.shields.io/pypi/v/nzshm-common.svg)](https://pypi.org/project/nzshm-common/)
[![python](https://img.shields.io/pypi/pyversions/nzshm-common.svg)](https://pypi.org/project/nzshm-common/)
[![Build Status](https://github.com/GNS-Science/nzshm-common-py/actions/workflows/dev.yml/badge.svg)](https://github.com/GNS-Science/nzshm-common-py/actions/workflows/dev.yml)
[![codecov](https://codecov.io/gh/GNS-Science/nzshm-common-py/branch/main/graphs/badge.svg)](https://codecov.io/github/GNS-Science/nzshm-common-py)


* Documentation: <https://GNS-Science.github.io/nzshm-common-py>
* GitHub: <https://github.com/GNS-Science/nzshm-common-py>
* PyPI: <https://pypi.org/project/nzshm-common/>
* Free software: GPL-3.0-only

## Installation

```
pip install nzshm-common
```

## Use

```
>>> from nzshm_common.location import location
>>> dir(location)
['LOCATIONS', 'LOCATION_LISTS', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'location_by_id']
>>>
```
