Debian Codegraph @

docs/src/index.md

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