Published May 6, 2021
| Version hypothesis-python-6.12.0
Software
Open
HypothesisWorks/hypothesis: Hypothesis for Python - version 6.12.0
Creators
- David R. MacIver
- Zac Hatfield-Dodds1
- pyup.io bot2
- Alex Chan3
- Stuart Cook
- Ryan Soklaski
- Alex Weisberger4
- David Chudzicki
- Nikita Sobolev5
- jwg4
- Alex Willmer
- Dmitry Dygalo6
- Tyler7
- Kyle Reeve
- Grigorios Giannakopoulos
- mulkieran
- Christopher Armstrong
- Emmanuel Leblond8
- Jeremy Thurgood
- Paul Stiverson
- Alexander Shorin
- Rónán Carrigan
- SuperStormer
- dwest-netflix
- Mathieu PATUREL
- Tom Prince
- Anne Archibald9
- Peter C Kroon
- David Mascharka
- Cory Benfield10
- 1. Australian National University
- 2. @pyupio
- 3. @wellcomecollection
- 4. VTS
- 5. @wemake-services and @dry-labs
- 6. Software Development Consultant
- 7. VideoAmp
- 8. Scille
- 9. University of Newcastle
- 10. Apple
Description
This release automatically rewrites some simple filters, such as "integers().filter(lambda x: x > 9)" to the more efficient "integers(min_value=10)", based on the AST of the predicate.
We continue to recommend using the efficient form directly wherever possible, but this should be useful for e.g. pandera ""Checks"" where you already have a simple predicate and translating manually is really annoying. See issue #2701 for ideas about floats and simple text strategies.
The canonical version of these notes (with links) is on readthedocs.
Files
HypothesisWorks/hypothesis-hypothesis-python-6.12.0.zip
Files
(9.5 MB)
Name | Size | Download all |
---|---|---|
md5:0f62e3d356ef87d25f0b5c2dddf5c573
|
9.5 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/HypothesisWorks/hypothesis/tree/hypothesis-python-6.12.0 (URL)