Release Notes

1.5.1

20 October 2018
  • fixed

    Specify dependencies using case sensitive names to support systems that cannot resolve in a case insensitive manner (such as “Nexus Repository”).

1.5.0

6 June 2015

1.4.1

26 May 2015
  • changed

    Implemented custom formatter internally, removing dependency on Bunch and simplifying format logic.

1.4.0

25 May 2015
  • new

    Added duplicate_placeholder_mode to control template behaviour when parsing templates with duplicate placeholders, including a new STRICT mode.

1.3.1

1 April 2014

1.3.0

28 March 2014
  • changed

    Removed dependency on Regex module to simplify installation across different platforms.

1.2.0

9 March 2014
  • new

    Added Template.keys() for retrieving set of placeholders used in a template pattern.

1.1.0

8 March 2014
  • new

    Support partial matching of template when parsing with the introduction of a new anchor setting on templates.

    See also

    Anchoring

  • new

    Helper function lucidity.get_template() for retrieving a template by name from a list of templates.

  • fixed

    Special regex characters not escaped in pattern leading to incorrect parses.

  • fixed

    Template.format() fails with unhandled AttributeError when nested dictionary is missing a required key.

1.0.0

1 September 2013
  • Initial release with support for Template objects that can use a simple pattern to parse strings into data and format data into strings.

    See also

    Tutorial