Skip to main content

GeoJSON helpers for FastAPI with Feature creation and GeoJSONResponse

Project description

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:

pip install fastapi-geojson

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi_geojson-0.2.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_geojson-0.2.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_geojson-0.2.0.tar.gz.

File metadata

  • Download URL: fastapi_geojson-0.2.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for fastapi_geojson-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b1a7f9aebb71103f220911c6a7b79dd58696b03511b5b14a186989184141ea24
MD5 325cdebbc7535427ae526c3926895cba
BLAKE2b-256 65560973322d9e57511e59c1c2ad02eff8136745651aed26bae29ed46f7bd6a7

See more details on using hashes here.

File details

Details for the file fastapi_geojson-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_geojson-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76104644753061275dc1aa09617cdf142e0cf3aaccc9beb7db1509acf091aa8e
MD5 146088748796219ce3dd1898c02f3bea
BLAKE2b-256 0890d9c6e255fc91a5a2f0d953cb113f259686a1af813a6f952d87069a22c98e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page