Metadata-Version: 2.4
Name: fastapi-geojson
Version: 0.2.0
Summary: GeoJSON helpers for FastAPI with Feature creation and GeoJSONResponse
Author-email: Hossam Hassan <h.3bdullhafiz@gmail.com>
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Framework :: FastAPI
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: fastapi>=0.100
Requires-Dist: pydantic>=2.0

# FastAPI GeoJSON

A lightweight Python package to generate **GeoJSON responses** easily in **FastAPI** applications.

---

## Features

- `GeoJSONResponse` for FastAPI endpoints
- Create GeoJSON Features:
  - `feature_from_point`
  - `feature_from_linestring`
  - `feature_from_polygon`
- Supports **FeatureCollection** out-of-the-box
- Fully compatible with FastAPI response models

---

## Installation

Install from PyPI:

```bash
pip install fastapi-geojson
