There is a newer version of this record available.

Software Open Access

Hypothesis: Property-Based Testing for Python

MacIver, David R.; Hatfield-Dodds, Zac; many other contributors

DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="" xmlns="" xsi:schemaLocation="">
  <identifier identifierType="DOI">10.5281/zenodo.7338443</identifier>
      <creatorName>MacIver, David R.</creatorName>
      <givenName>David R.</givenName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="">0000-0002-8635-3223</nameIdentifier>
      <affiliation>Imperial College London</affiliation>
      <creatorName>Hatfield-Dodds, Zac</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="">0000-0002-8646-8362</nameIdentifier>
      <affiliation>Australian National University</affiliation>
      <creatorName>many other contributors</creatorName>
    <title>Hypothesis: Property-Based Testing for Python</title>
    <date dateType="Issued">2022-11-19</date>
  <resourceType resourceTypeGeneral="Software"/>
    <alternateIdentifier alternateIdentifierType="url"></alternateIdentifier>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsSupplementTo"></relatedIdentifier>
    <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.1412597</relatedIdentifier>
    <rights rightsURI="">Mozilla Public License 2.0</rights>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
    <description descriptionType="Abstract">&lt;p&gt;"register_random()" has used "weakref" since 6.27.1 - 2021-11-22,
allowing the "Random"-compatible objects to be garbage-collected when
there are no other references remaining in order to avoid memory
leaks. We now raise an error or emit a warning when this seems likely
to happen immediately.&lt;/p&gt;
&lt;p&gt;The type annotation of "register_random()" was also widened so that
structural subtypes of "Random" are accepted by static typecheckers.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href=""&gt;The canonical version of these notes (with links) is on readthedocs.&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;</description>
    <description descriptionType="Other">If you use Hypothesis as part of a published research project,
please cite our paper in the Journal of Open Source Software:


MacIver et al., (2019). Hypothesis: A new approach to property-based testing.
Journal of Open Source Software, 4(43), 1891,


  journal = {Journal of Open Source Software},
  doi = {10.21105/joss.01891},
  issn = {2475-9066},
  number = {43},
  publisher = {The Open Journal},
  title = {Hypothesis: A new approach to property-based testing},
  url = {},
  volume = {4},
  author = {MacIver, David and Hatfield-Dodds, Zac and Contributors, Many},
  pages = {1891},
  date = {2019-11-21},
  year = {2019},
  month = {11},
  day = {21},

To reference a particular version of Hypothesis as a software artifact,
you can use the version-specific DOIs we create for each release under</description>
All versions This version
Views 6,9142
Downloads 22,9770
Data volume 85.3 GB0 Bytes
Unique views 5,8932
Unique downloads 9150


Cite as