NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2913 most downloaded on PyPI
Jazzband-maintained fork of docopt, the humane command line arguments parser.
Last release 3 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2.1 years
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
6 releases · first in 2019
See CHANGELOG.md for a description of what's new. There are some breaking changes. This is released on pypi!
See CHANGELOG.md for a description of what's new. There are some breaking changes. This is released on pypi!
Full Changelog: https://github.com/jazzband/docopt-ng/compare/0.8.1...0.9.0
One column per quarter.
See CHANGELOG.md for a description of what's new. There are some breaking changes. This is released on pypi!
Full Changelog: 0.8.1...0.9.0
BREAKING: Remove magic stuff.
When using docopt(): Now you must supply docstring explicitly,
and the more_magic option is removed.
The magic() and magic_docopt() functions are also removed.
I had several reasons for removing this:
Tweak a few things to restore compatibility with docopt (the original repo) 0.6.2 See PR https://github.com/jazzband/docopt-ng/pull/36 for more info
BREAKING: Restore what constitutes an "option":
Now the important rule to follow is
any line starting with - or -- is treated as an option.
This means that some things that did NOT used to be treated
as options, now ARE treated as options:
1. lines before `usage:`
2. non-indented --options
3. lines not inside the options: section
However, we also keep one part of the old behavior of this fork where in the line
header that ends with the keyword options: --foo, --foo is still treated as
an option because the start of a line up to options: is ignored.
BREAKING: Error messages are tweaked a little bit. Unlikely that you relied on them, but just in case.
NONBREAKING: Now allow for blank lines between options. As described in https://github.com/jazzband/docopt-ng/issues/33
NONBREAKING: Fix an unlikely edge case of how options are parsed: Here, --foo was interpreted to take "Enable" as an argument
options:
--foo
Enable the foo behaviour. (One space before "Enable")
Whereas here, Enable was interpreted as part of the description.
options:
--foo
Enable the foo behaviour. (2 space before "Enable".)
Now, both of these examples are treated more intuitively, where Enable is treated as the description
(for devs) Switch to PDM as project manager
Actually run release workflow on tag push by @NickCrews in https://github.com/jazzband/docopt-ng/pull/29
Full Changelog: https://github.com/jazzband/docopt-ng/compare/0.8.0...0.8.1
Full Changelog: 0.8.0...0.8.1
added coverage badge, 0.7.2 version and release notes
added coverage badge, 0.7.2 version and release notes
pragma: no cover as they are definitionally exercised.Add magic() and magic_docopt() aliases for docopt() allowing easier use of new features.
magic() and magic_docopt() aliases for docopt() allowing easier use of new features.drop unused import, bump version to 0.7.0
drop unused import, bump version to 0.7.0
docopt() will look for __doc__ defined in parent scopes.arguments object,
ignoring angle brackets and leading dashes.more_magic parameter added to docopt() defaults False.more_magic enabled, arguments variable created and populated
in calling scope with results.more_magic enabled, fuzzy (levenshtein) autocorrect enabled for long-args.Catch up on \~two years of pull requests.
Your coding agent can read these notes before it upgrades. Set up the MCP server →