Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It’s the “Command Line Interface Creation Kit”. It’s highly configurable but comes with sensible defaults out of the box. It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the inability to implement an intended CLI API. Click in three points, arbitrary nesting of commands, automatic help page generation, supports lazy loading of subcommands at runtime. Comes with useful common helpers (getting terminal dimensions, ANSI colors, fetching direct keyboard input, screen clearing, finding config paths, launching apps and editors, etc.). Click actually implements its own parsing of arguments and does not use optparse or argparse following the optparse parsing behavior. Click is designed to be fun and customizable but not overly flexible.

Features

  • It automatically generates nicely formatted help pages
  • You can get the library directly from PyPI
  • Supports implementation of Unix/POSIX command line conventions
  • Supports loading values from environment variables out of the box
  • Support for prompting of custom values
  • Supports file handling out of the box
  • Is fully nestable and composable

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Click

Click Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Click!

Additional Project Details

Programming Language

Python

Related Categories

Python User Interface (UI) Software

Registered

2021-05-26