Skip to content

0.9.2

Compare
Choose a tag to compare
@shawnbrown shawnbrown released this 08 Aug 04:29
· 897 commits to master since this release

Improved data handling features and support for Python 3.7:

  • Changed Query class:
    • Added flatten() method to serialize dictionary results.
    • Added to_csv() method to quickly save results as a CSV file.
    • Changed reduce() method to accept initializer_factory as
      an optional argument.
    • Changed filter() method to support predicate matching.
  • Added True and False as predicates to support "truth value testing" on
    arbitrary objects (to match on truthy or falsy).
  • Added ProxyGroup class for performing the same operations on groups of
    objects at the same time (a common need when testing against reference
    data).
  • Changed Selector class keyword filtering to support predicate matching.
  • Added handling to get_reader() to support datatest's Selector and Result
    objects.
  • Fixed get_reader() bug that prevented encoding-fallback recovery when
    reading from StringIO buffers in Python 2.