Skip to content

Releases: shakefu/pytool

3.11.0

11 Dec 20:28
Compare
Choose a tag to compare
  • Allows the use of configargparse instead of the stdlib argparse library as the core of pytool.cmd.Command.

3.10.1

11 Dec 20:25
Compare
Choose a tag to compare
  • 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

11 Dec 20:23
Compare
Choose a tag to compare
  • Adds .items() method to pytool.lang.Namespace instances.

3.9.0

03 Jul 20:55
8bf961d
Compare
Choose a tag to compare
  • 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

03 Jul 20:54
Compare
Choose a tag to compare
  • Fixes a bug to make pytool.time.UTC objects pickle-able.

3.8.0

03 Jul 20:53
Compare
Choose a tag to compare
  • Adds dict-like key access to Namespaces, such as ns['foo']

3.7.1

03 Jul 20:53
Compare
Choose a tag to compare
  • Fixes a bug with Namespace deep copying.

3.7.0

09 Apr 04:57
Compare
Choose a tag to compare
  • Adds Namespace.copy() method to allow for deep copying namespaces.
  • Contributed via #8 thanks to @dshen109.

3.6.0

06 Apr 21:19
Compare
Choose a tag to compare
  • 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

04 Apr 00:41
Compare
Choose a tag to compare
  • 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.