$npx skillfedfor your agent

cleo

Cleo allows you to create beautiful and testable command-line interfaces.

Worth itPyPI Software DevelopmentReleased Oct 202380.5M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cleo-2.1.0-py3-none-any.whl
v2.1.0 · released 2023-10-30 · Python >=3.7,<4.0 · 2 runtime deps: crashtest, rapidfuzz

Yes. Cleo is a stable, actively maintained framework (last commit 2026-08-03, 1351 stars) with low install friction, permissive MIT licensing, and zero known vulnerabilities. It is well-suited for any Python CLI project that needs structured command parsing and colored output. The two runtime dependencies are lightweight and widely used.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction; pure Python wheel.
  • Actively maintained with recent commits (last 2026-08-03) and 1351 repository stars.
  • Supports Python 3.7 through 3.11.

License · maintenance · safety

MIT (permissive) — MIT license (permissive); no restrictions on commercial or proprietary use, modification, or distribution provided the license text is included.

last release 2023-10-30 (1019 days) · last repo commit 2026-08-03 · 1,351 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 80,505,852 downloads/mo, #419 on PyPI

Verify before relying

pip install cleo

from cleo.commands.command import Command
from cleo.application import Application

class GreetCommand(Command):
    name = "greet"
    description = "Greets someone"
    def handle(self):
        self.line("Hello World")

app = Application()
app.add(GreetCommand())
app.run()
  • Whether crashtest and rapidfuzz are required at runtime or only for testing/development
  • Performance characteristics with large numbers of commands or complex option hierarchies
Same gist for agents: .md · .json

What it is and what it does

Cleo is a Python framework for building command-line applications with structured argument and option handling. It provides a Command base class where you define arguments, options, and a handle() method; the framework parses user input, validates it against your schema, and calls your handler. It includes built-in support for colored terminal output using inline tags, verbosity levels (quiet, normal, verbose, very verbose, debug), and custom styling.

The package is designed for testability—commands are plain Python classes that can be instantiated and tested without spawning subprocesses. It depends on crashtest (for exception handling) and rapidfuzz (for fuzzy matching, likely for command suggestions). It supports Python 3.7 through 3.11 and is actively maintained by the Poetry project team.

Use it for

  • Build a CLI tool with subcommands, arguments, and flags without manually parsing sys.argv
  • Create colored, formatted terminal output with semantic tags like <info>, <error>, and custom styles
  • Implement a command-line application that needs different output verbosity levels (-q, -v, -vv, -vvv)
  • Write testable CLI commands as Python classes that can be unit-tested in isolation
  • Develop a multi-command application (like Poetry itself) with consistent help text and option handling

Worth the install?

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

Worth it

Yes.

Cleo is a stable, actively maintained framework (last commit 2026-08-03, 1351 stars) with low install friction, permissive MIT licensing, and zero known vulnerabilities. It is well-suited for any Python CLI project that needs structured command parsing and colored output. The two runtime dependencies are lightweight and widely used.

Install

cleo on PyPI

Before you install

Low install friction; pure Python wheel. Actively maintained with recent commits (last 2026-08-03) and 1351 repository stars. Supports Python 3.7 through 3.11.

License in practice

MIT license (permissive); no restrictions on commercial or proprietary use, modification, or distribution provided the license text is included.

Quickstart

pip install cleo

from cleo.commands.command import Command
from cleo.application import Application

class GreetCommand(Command):
    name = "greet"
    description = "Greets someone"
    def handle(self):
        self.line("Hello World")

app = Application()
app.add(GreetCommand())
app.run()

Verify before relying

  • Whether crashtest and rapidfuzz are required at runtime or only for testing/development
  • Performance characteristics with large numbers of commands or complex option hierarchies

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7,<4.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
crashtestrapidfuzz
MaintenanceActively maintained 1,019 days since the last release
Last repo commit
First released
Downloads80,505,852 / month, #419 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 :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules

Evidence: cleo-2.1.0-py3-none-any.whl

Tags

Capabilities
cli framework pythoncommand-line interface builderargument parsing clicolored terminal outputtestable cli commands
Topics
cli-frameworkcommand-parsing
PyPI keywords
clicommands

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 › “command-line interface builder”

  • cleoCleo builds command-line interfaces with argument and option parsing,…
  • faceFace is a command-line application framework that builds CLI parsers…
  • fireAutomatically generates command-line interfaces from any 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 clikit · clize · hexor · ascii-colors · simple-colors · pastel · docopt · termcolor · ansicolors · pystyle