1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
# geojson-pydantic
<p align="center">
<em> <a href="https://docs.pydantic.dev/latest/" target="_blank">Pydantic</a> models for GeoJSON.</em>
</p>
<p align="center">
<a href="https://github.com/developmentseed/geojson-pydantic/actions?query=workflow%3ACI" target="_blank">
<img src="https://github.com/developmentseed/geojson-pydantic/workflows/CI/badge.svg" alt="Test">
</a>
<a href="https://codecov.io/gh/developmentseed/geojson-pydantic" target="_blank">
<img src="https://codecov.io/gh/developmentseed/geojson-pydantic/branch/main/graph/badge.svg" alt="Coverage">
</a>
<a href="https://pypi.org/project/geojson-pydantic" target="_blank">
<img src="https://img.shields.io/pypi/v/geojson-pydantic?color=%2334D058&label=pypi%20package" alt="Package version">
</a>
<a href="https://pypistats.org/packages/geojson-pydantic" target="_blank">
<img src="https://img.shields.io/pypi/dm/geojson-pydantic.svg" alt="Downloads">
</a>
<a href="https://github.com/developmentseed/geojson-pydantic/blob/main/LICENSE" target="_blank">
<img src="https://img.shields.io/github/license/developmentseed/geojson-pydantic.svg" alt="License">
</a>
<a href="https://anaconda.org/conda-forge/geojson-pydantic" target="_blank">
<img src="https://anaconda.org/conda-forge/geojson-pydantic/badges/version.svg" alt="Conda">
</a>
</p>
---
**Documentation**: <a href="https://developmentseed.org/geojson-pydantic/" target="_blank">https://developmentseed.org/geojson-pydantic/</a>
**Source Code**: <a href="https://github.com/developmentseed/geojson-pydantic" target="_blank">https://github.com/developmentseed/geojson-pydantic</a>
---
## Description
`geojson_pydantic` provides a suite of Pydantic models matching the [GeoJSON specification rfc7946](https://datatracker.ietf.org/doc/html/rfc7946). Those models can be used for creating or validating geojson data.
## Install
```bash
$ python -m pip install -U pip
$ python -m pip install geojson-pydantic
```
Or install from source:
```bash
$ python -m pip install -U pip
$ python -m pip install git+https://github.com/developmentseed/geojson-pydantic.git
```
Install with conda from [`conda-forge`](https://anaconda.org/conda-forge/geojson-pydantic):
```bash
$ conda install -c conda-forge geojson-pydantic
```
## Contributing
See [CONTRIBUTING.md](https://github.com/developmentseed/geojson-pydantic/blob/main/CONTRIBUTING.md).
## Changes
See [CHANGES.md](https://github.com/developmentseed/geojson-pydantic/blob/main/CHANGELOG.md).
## Authors
Initial implementation by @geospatial-jeff; taken liberally from https://github.com/arturo-ai/stac-pydantic/
See [contributors](hhttps://github.com/developmentseed/geojson-pydantic/graphs/contributors) for a listing of individual contributors.
## License
See [LICENSE](https://github.com/developmentseed/geojson-pydantic/blob/main/LICENSE)
|