$npx skillfedfor your agent

decli

Minimal, easy-to-use, declarative cli tool

With conditionsPyPI UtilitiesReleased Jun 20253.9M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — decli-0.6.3-py3-none-any.whl
v0.6.3 · released 2025-06-01 · Python >=3.9

Yes, if you are building a CLI-heavy application and prefer declarative, dictionary-based configuration over imperative argparse calls. The zero-dependency install and permissive license make it low-risk. However, note that maintenance is aging (last release 439 days ago), so do not expect active development or rapid fixes for edge cases.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction; pure Python wheel with no runtime dependencies.
  • Maintenance status is aging (439 days since last release), so expect no active development or rapid bug fixes.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute decli freely in commercial or private projects with minimal restrictions.

last release 2025-06-01 (439 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,907,358 downloads/mo, #2,456 on PyPI

Verify before relying

from decli import cli

data = {
    "prog": "myapp",
    "description": "Process integers",
    "arguments": [
        {"name": "integers", "type": int, "nargs": "+"},
        {"name": "--sum", "action": "store_true"}
    ]
}
parser = cli(data)
args = parser.parse_args()
  • Whether the package is actively maintained or in maintenance-only mode despite the aging status
  • Real-world performance or scalability limits when handling very large numbers of arguments or deeply nested subcommands
Same gist for agents: .md · .json

What it is and what it does

Decli is a thin declarative wrapper around Python's argparse library. Instead of writing imperative parser setup code with repeated add_argument() calls, you define your CLI structure as a nested dictionary—specifying prog name, description, arguments, subcommands, and argument groups—then pass it to the cli() function to get a ready-to-use parser. It accepts all standard argparse argument options (action, nargs, type, choices, help, metavar, dest, etc.) and adds support for argument grouping and a func parameter on subcommands to map commands to handler functions.

The package is designed for developers building larger applications with many arguments and subcommands who want their CLI definition to be more readable and maintainable than traditional argparse boilerplate. It has no external runtime dependencies and works with Python 3.9 through 3.13.

Use it for

  • Build a multi-command CLI tool (like git or docker) by defining subcommands and their handlers in a single data structure
  • Rapidly prototype a command-line interface for a Python application without writing repetitive argparse setup code
  • Organize related arguments into logical groups for clearer help output and better code readability
  • Create a CLI where each subcommand maps to a specific function, keeping interface definition separate from business logic

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building a CLI-heavy application and prefer declarative, dictionary-based configuration over imperative argparse calls.

The zero-dependency install and permissive license make it low-risk. However, note that maintenance is aging (last release 439 days ago), so do not expect active development or rapid fixes for edge cases.

Install

decli on PyPI

Before you install

Low friction; pure Python wheel with no runtime dependencies. Maintenance status is aging (439 days since last release), so expect no active development or rapid bug fixes.

License in practice

MIT license is permissive; you can use, modify, and distribute decli freely in commercial or private projects with minimal restrictions.

Quickstart

from decli import cli

data = {
    "prog": "myapp",
    "description": "Process integers",
    "arguments": [
        {"name": "integers", "type": int, "nargs": "+"},
        {"name": "--sum", "action": "store_true"}
    ]
}
parser = cli(data)
args = parser.parse_args()

Verify before relying

  • Whether the package is actively maintained or in maintenance-only mode despite the aging status
  • Real-world performance or scalability limits when handling very large numbers of arguments or deeply nested subcommands

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 439 days since the last release
First released
Downloads3,907,358 / month, #2,456 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: decli-0.6.3-py3-none-any.whl

Tags

Capabilities
declarative cli argument parserargparse wrapper dictionarycommand line interface buildercli tool from dictsubcommand argument parserminimal cli frameworkargparse declarative
Topics
cli-builderargparse-wrapperdeclarative-config

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 › “declarative cli argument parser”

  • decliDecli wraps argparse to let you define command-line interfaces…
  • argparse-dataclassBuilds command-line interfaces declaratively by combining Python…
  • docoptParses command-line arguments based on a help message docstring,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

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.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

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.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo

See also argparse-dataclass · python-tools-scripts · argh · simple-parsing · clize · autocommand · guacamole · argparse-addons · plac · typed-argument-parser