docopt

JSON →
library 0.6.2 ·python maintenance
verified Jun 28, 2026 install

docopt is a Pythonic argument parser that creates command-line interfaces based on the user's beautiful help message, typically provided as a module docstring. It adheres to PEP 257 by using the docstring as the source of truth for argument parsing, reducing boilerplate code. The current version is 0.6.2, released in June 2014, and the original project sees limited active development, with a community-maintained fork (`docopt-ng`) offering continued updates.

total hits 14
actors 4 distinct systems
last hit 22h ago GPTBot
GPTBot
4
Amazonbot
4
Script
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇪🇸 Spain · 🇬🇧 United Kingdom