A collection of everyday utils, helpers and tools in Python.
Project description
pybackpack
A collection of everyday utils, helpers and tools in Python.
cli module
A few classes to make implementation of cli tools more organized. It uses composite pattern for creating the parsers and subcommands. It also uses function decorators which identity which function has to be executed for the provided arguments. The idea behind this module is to encapsulate each parser and it’s arguments, and the corresponding handler function.
Look at the tests/cli/my_cli.py
for a multi sub-commands example.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybackpack-0.2.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for pybackpack-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d94ef99975bc9cfa747e3af2f1e314f3d4f295b4eb1842f6fcb669766faa2263 |
|
MD5 | 7de820f1a18a6a163c4c3e8a38cb9a31 |
|
BLAKE2b-256 | a6e1ff3748c355653bc1864eb98b98b3256eba74e096d38af59c4295facae320 |