Subparse

Latest version: v0.6

Safety actively analyzes 619197 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6

================

- Drop Python 2.7, 3.4, 3.5, 3.6, 3.7.

- Add Python 3.8, 3.9, 3.10.

- Drop dependency on pkg_resources and use importlib.metadata.

- 100% test coverage.

0.5.3

==================

- Output help to ``sys.stderr`` when parsing fails.

- Support passing ``context_kwargs`` to the ``command`` decorator. These
arguments will be passed to the ``context_factory`` when the command is
executed.

0.5.2

==================

- Sort subcommands in help output.

0.5.1

==================

- Use the ``argparse.RawTextHelpFormatter`` formatter class.

0.5

================

- Add Python 3.7 support.

- Fix a deprecation warning coming from setuptools.

- Conform more closely to PEP-257 for docstring parsing.

- Modify how the help text is displayed using the
``argparse.RawDescriptionHelpFormatter`` formatter class.

0.4

================

- Drop Python 2.6, 3.2 and 3.3 support.

- Add Python 3.4, 3.5, 3.6 support.

- Allow the ``context_factory`` to be a generator which yields the context.
This allows the context to wrap the full lifecycle of the CLI.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.