$npx skillfedfor your agent

clize

Turn functions into command-line interfaces

Worth itPyPI Software DevelopmentReleased Jul 2023207.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — clize-5.0.2-py2.py3-none-any.whl
v5.0.2 · released 2023-07-09 · Python >=3.6 · 4 runtime deps: sigtools, attrs, od, docutils

Yes, for stable CLI projects. Clize is production-ready and permissively licensed, with low install friction and no known vulnerabilities. Dormant maintenance is acceptable if you need a simple, proven argument parser and do not require active feature development. Not recommended if you need ongoing support or anticipate heavy customization beyond what decorators provide.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with four lightweight runtime dependencies.
  • Dormant maintenance (last commit 2023-11-24, 1132 days ago) but marked Production/Stable; suitable for stable CLI use cases where active development is not expected.

License · maintenance · safety

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

last release 2023-07-09 (1132 days) · last repo commit 2023-11-24 · 496 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 207,721 downloads/mo, #9,543 on PyPI

Verify before relying

pip install clize

from clize import run

def greet(name=None):
    """Greet someone.
    
    :param name: Person to greet
    """
    return f'Hello {name or "world"}!'

if __name__ == '__main__':
    run(greet)
  • Whether dormant status (no commits since 2023-11-24) poses a risk for future Python version compatibility or security patches.
  • Performance characteristics compared to argparse for large CLI applications with many subcommands.
Same gist for agents: .md · .json

What it is and what it does

Clize is an argument parser that eliminates boilerplate by deriving CLI interfaces directly from Python function definitions. Instead of writing separate argparse code, you define a function with typed parameters and a docstring, pass it to clize.run(), and get a fully functional command-line tool with automatic help text, option parsing, and subcommand support.

The package works by introspecting function signatures to infer positional arguments, optional flags, and keyword arguments, then generates help messages from docstrings. It supports decorators for composing multiple commands and extending parameter behavior. Runtime dependencies are minimal (sigtools, attrs, od, docutils), and it runs on Python 3.6+ across CPython and PyPy.

Use it for

  • Build a simple CLI tool for a utility function without writing argparse boilerplate.
  • Create multi-command CLI applications using decorators to compose related functions.
  • Generate self-documenting command-line tools where help text comes directly from docstrings.
  • Prototype command-line interfaces quickly during development before committing to a larger framework.
  • Add CLI entry points to existing Python libraries by wrapping functions with clize.run().

Worth the install?

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

Worth it

Yes, for stable CLI projects.

Clize is production-ready and permissively licensed, with low install friction and no known vulnerabilities. Dormant maintenance is acceptable if you need a simple, proven argument parser and do not require active feature development. Not recommended if you need ongoing support or anticipate heavy customization beyond what decorators provide.

Install

clize on PyPI

Before you install

Low install friction with four lightweight runtime dependencies. Dormant maintenance (last commit 2023-11-24, 1132 days ago) but marked Production/Stable; suitable for stable CLI use cases where active development is not expected.

License in practice

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

Quickstart

pip install clize

from clize import run

def greet(name=None):
    """Greet someone.
    
    :param name: Person to greet
    """
    return f'Hello {name or "world"}!'

if __name__ == '__main__':
    run(greet)

Verify before relying

  • Whether dormant status (no commits since 2023-11-24) poses a risk for future Python version compatibility or security patches.
  • Performance characteristics compared to argparse for large CLI applications with many subcommands.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
sigtoolsattrsoddocutils
MaintenanceDormant 1,132 days since the last release
Last repo commit
First released
Downloads207,721 / month, #9,543 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces

Evidence: clize-5.0.2-py2.py3-none-any.whl

Tags

Capabilities
python cli argument parserfunction to command line interfaceautomatic argparse alternativecli from function signaturepython command line decoratorgenerate help from docstringsubcommands decorator
Topics
cli-builderargparse-alternativedecorator-based
PyPI keywords
CLIoptionsargumentsgetoptsgetoptargparseintrospectionflagsdecoratorsubcommands

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 › “automatic argparse alternative”

  • clizeClize turns Python functions into command-line interfaces…
  • placPlac generates command-line interfaces from Python function…
  • targGenerates a command-line interface from type-annotated Python…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also entrypoint2 · mando · targ · fire · argbind · arguably · click · autocommand · cleo · decli