Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #3096 > unrolled thread
| Started by | Shawn Brown <03sjbrown@gmail.com> |
|---|---|
| First post | 2019-04-22 10:32 -0400 |
| Last post | 2019-04-22 10:32 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python.announce
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
ANN: Datatest 0.9.4 Released Shawn Brown <03sjbrown@gmail.com> - 2019-04-22 10:32 -0400
| From | Shawn Brown <03sjbrown@gmail.com> |
|---|---|
| Date | 2019-04-22 10:32 -0400 |
| Subject | ANN: Datatest 0.9.4 Released |
| Message-ID | <mailman.185.1556216163.2982.python-announce-list@python.org> |
Datatest provides tools for test driven data-wrangling and data validation. It supports both pytest and unittest style testing. I've been working to get datatest ready for a few pre-PyCon updates. This latest release takes many of the "how-to" solutions and brings them into the core package. * Docs - https://datatest.readthedocs.io/ * PyPI - https://pypi.org/project/datatest/ * Devel - https://github.com/shawnbrown/datatest Upgrade an existing installation to 0.9.4: pip install --upgrade datatest What's New in Datatest 0.9.4: * Added Python 3.8 testing and support. * Added new validate methods (moved from how-to recipes into core module): * Added approx() method to require for approximate numeric equality. * Added fuzzy() method to require strings by approximate match. * Added interval() method to require elements within a given interval. * Added set(), subset(), and superset() methods for explicit membership checking. * Added unique() method to require unique elements. * Added order() method to require elements by relative order. * Changed default sequence validation to check elements by index position rather than checking by relative order. * Added fuzzy-matching allowance to allow strings by approximate match. * Added Predicate class to formalize behavior--also provides inverse-matching with the inversion operator (~). * Added new methods to Query class: * Added unwrap() to remove single-element containers and return their unwrapped contents. * Added starmap() to unpack grouped arguments when applying a function to elements. * Fixed improper use of assert statements with appropriate conditional checks and error behavior. * Added requirement class hierarchy (using BaseRequirement). This gives users a cleaner way to implement custom validation behavior and makes the underlying codebase easier to maintain. * Changed name of ProxyGroup to RepeatingContainer. * Changed "How To" examples to use the new validation methods.
Back to top | Article view | comp.lang.python.announce
csiph-web