cligj
Click params for commmand line interfaces to GeoJSON
Decision gist · record as of 2026-08-14
Yes, if you are building GeoJSON command-line tools and want to avoid reimplementing standard argument patterns. The low install friction and permissive license make it a safe dependency. However, be aware that maintenance is dormant—the last release was in 2021 and there have been no commits since February 2024. If you need active maintenance or expect to rely on updates for compatibility with future click versions, consider whether the project's stability meets your risk tolerance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single runtime dependency on click.
- Maintenance is dormant—last release was in 2021 and no commits since February 2024—but the package remains archived-free and has seen no security vulnerabilities.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions.
last release 2021-05-28 (1904 days) · last repo commit 2024-02-26 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,598,146 downloads/mo, #1,521 on PyPI
Alternatives
Verify before relying
pip install cligj
import click
import cligj
@click.command()
@cligj.features_in_arg
@cligj.sequence_opt
def my_command(features, sequence):
for feature in features:
click.echo(feature)- Whether the package works reliably with modern Python versions despite dormant maintenance status.
- Compatibility with recent versions of click and whether breaking changes in click affect cligj decorators.
What it is and what it does
cligj is a library that packages common command-line argument and option patterns for GeoJSON processing into reusable Click decorators. It abstracts away boilerplate for handling GeoJSON input/output modes, coordinate precision, projection types, and feature collection vs. sequence formats—patterns that appear repeatedly in geospatial CLI tools. The library depends only on click and is designed to let developers quickly build consistent, interoperable command-line interfaces for geospatial data without reimplementing standard argument handling.
The package provides decorators like `features_in_arg`, `sequence_opt`, `use_rs_opt`, and others that handle GeoJSON-specific concerns: reading features from files or stdin, choosing between feature collections and line-delimited sequences, applying coordinate precision, and selecting geographic or projected coordinate systems. It is primarily useful for developers building geospatial data processing pipelines or command-line tools that need to accept and emit GeoJSON in standard ways.
Use it for
- Build a geospatial data conversion CLI that accepts GeoJSON input and outputs in multiple formats with consistent argument handling.
- Create a feature filtering or transformation command-line tool that reads GeoJSON features and writes them as a collection or sequence.
- Develop a batch geospatial processing tool that needs to handle both file and stdin input with standard verbosity and formatting options.
- Standardize CLI interfaces across multiple geospatial utilities so they share common argument patterns and help text.
- Implement a GeoJSON validation or analysis command that supports both pretty-printed and compact JSON output modes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building GeoJSON command-line tools and want to avoid reimplementing standard argument patterns.
The low install friction and permissive license make it a safe dependency. However, be aware that maintenance is dormant—the last release was in 2021 and there have been no commits since February 2024. If you need active maintenance or expect to rely on updates for compatibility with future click versions, consider whether the project's stability meets your risk tolerance.
Install
cligj on PyPI
Before you install
Low install friction with a single runtime dependency on click. Maintenance is dormant—last release was in 2021 and no commits since February 2024—but the package remains archived-free and has seen no security vulnerabilities.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions.
Quickstart
pip install cligj
import click
import cligj
@click.command()
@cligj.features_in_arg
@cligj.sequence_opt
def my_command(features, sequence):
for feature in features:
click.echo(feature)
Verify before relying
- Whether the package works reliably with modern Python versions despite dormant maintenance status.
- Compatibility with recent versions of click and whether breaking changes in click affect cligj decorators.
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageclick |
| Maintenance | Dormant 1,904 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 9,598,146 / month, #1,521 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: cligj-0.7.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “geojson command line interface”
- cligjProvides reusable Click command-line argument and option decorators…
- antimeridianFixes Shapely geometries and GeoJSON features that cross the…
- geojsonEncodes, decodes, and represents GeoJSON formatted geographic data…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also geojson · click-datetime · click-compose · overturemaps · pygeoif · kml2geojson · click · click-config-file · arcgis2geojson · djangorestframework-gis