cligj

Shared Click decorators for arguments and options in Python command line tools that handle GeoJSON. It helps developers build consistent geospatial CLIs quickly.

Share on XLicense: BSD-3-Clause

Overview

cligj provides shared Click arguments and options for Python command line programs that process GeoJSON. Instead of redefining common flags in every tool, developers apply ready-made decorators for input files, verbosity, output format, indentation, coordinate precision, projection and feature sequences. This helps geospatial command line tools behave consistently.

Key features

  • Argument decorators for input files and GeoJSON features
  • Options for verbose, quiet, format, indent and compact output
  • Coordinate precision and projection switches
  • Sequence and RS options for GeoJSON output modes

Best for

Python developers writing GeoJSON command line tools with Click who want consistent, tested options. The README warns that GeoJSON sequences will become the default in version 1.0.0.

Upstream
mapbox/cligj
Fork on GitHub
Guo-astro/cligj
Upstream stars
37
Category
Developer tools and infrastructure
Language
Python
License
BSD-3-Clause
Forked
2020-11-01
Sync status
In syncLast synced 2026-09-29