Metadata-Version: 2.1
Name: pygeojson
Version: 0.2.0
Summary: GeoJSON library for Python with types
Home-page: https://github.com/hawkaa/pygeojson
License: MIT
Keywords: geojson,typed,dataclasses,immutable
Author: Håkon Åmdal
Author-email: hakon@aamdal.com
Maintainer: Håkon Åmdal
Maintainer-email: hakon@aamdal.com
Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Project-URL: Documentation, https://github.com/hawkaa/pygeojson
Project-URL: Repository, https://github.com/hawkaa/pygeojson
Description-Content-Type: text/markdown

# pygeojson 🗺

GeoJSON library for Python with [types](https://docs.python.org/3/library/typing.html).

The world doesn't need another
[GeoJSON library for python](https://github.com/jazzband/geojson), but it needs
a better one. The goal of this library is to provide a simple and typed data
model for GeoJSON such that y'all can get static code check and editor support
with [mypy](http://mypy-lang.org/). And of course, data should be data, so the
data model is not polluted with inheritance, custom methods, utilities,
extension or other "conveniences". Lastly, your data will be immutable!

`pygeojson` is built on top of
[`dataclasses`](https://docs.python.org/3/library/dataclasses.html) to provide
types, immutability and default value support. Models does not inherit from one
but instead we use
[`Union` types](https://docs.python.org/3/library/typing.html#typing.Union)
where applicable.

In addition, `pygeojson` comes with serialization and deserialization support
via the `dump`, `dumps`, `load` and `loads` functions.

## Installation

`pygeojson` requires Python 3.7 and up. Install it via `pipenv`:

```sh
pipenv install pygeojson
```

or `pip`:

```sh
pip install pygeojson
```

## Usage

TBD

## Data model

TBA

