Releases: shakefu/pytool
Releases · shakefu/pytool
3.11.0
- Allows the use of configargparse instead of the stdlib
argparse
library as the core of pytool.cmd.Command
.
3.10.1
- Fixes a bug where the SIGINT and SIGTERM handlers on
pytool.cmd.Command
would error when exiting in Python 3.
- Adds a compatibility method for pytz on
pytool.time.UTC
.
3.10.0
- Adds
.items()
method to pytool.lang.Namespace
instances.
3.9.0
- Adds
Namespace.traverse()
method
- Adds syntactic sugar for
traverse()
with dot-notation key access ns['foo.bar']
- Adds support for list-index traversal
3.8.1
- Fixes a bug to make
pytool.time.UTC
objects pickle-able.
3.8.0
- Adds dict-like key access to Namespaces, such as
ns['foo']
3.7.1
- Fixes a bug with Namespace deep copying.
3.7.0
- Adds
Namespace.copy()
method to allow for deep copying namespaces.
- Contributed via #8 thanks to @dshen109.
3.6.0
Namespaces
will now convert dot-notation dictionary keys to nested attributes.
Namespaces
will now convert list-like dictionary objects to list instances.
- Added the
pytool.lang.unflatten()
method.
3.5.0
- Adds the
Namespace.from_dict()
method
- Adds the ability to pass a dictionary into the Namespace constructor and create a Namespace based on its structure.