Skip to main content

Democritus functions to interact with Hypothesis.

Project description

Democritus Hypothesis

PyPI CI Lint codecov The Democritus Project uses semver version 2.0.0 The Democritus Project uses ruff to format and lint code License: LGPL v3

Democritus functions[1] for working with Hypothesis.

[1] Democritus functions are simple, effective, modular, well-tested, and well-documented Python functions.

We use d8s (pronounced "dee-eights") as an abbreviation for democritus (you can read more about this here).

Installation

pip install d8s-hypothesis

Usage

You import the library like:

from d8s_hypothesis import *

Once imported, you can use any of the functions listed below.

Functions

  • def hypothesis_get_strategy_results(strategy, *args, n: int = 10, **kwargs):
        """Return the given n of results from the given hypothesis strategy.
    
    For a list of hypothesis strategies, see: https://hypothesis.readthedocs.io/en/latest/data.html."""
    

Development

👋  If you want to get involved in this project, we have some short, helpful guides below:

If you have any questions or there is anything we did not cover, please raise an issue and we'll be happy to help.

Credits

This package was created with Cookiecutter and Floyd Hightower's Python project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

d8s_hypothesis-0.7.0.tar.gz (89.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

d8s_hypothesis-0.7.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file d8s_hypothesis-0.7.0.tar.gz.

File metadata

  • Download URL: d8s_hypothesis-0.7.0.tar.gz
  • Upload date:
  • Size: 89.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for d8s_hypothesis-0.7.0.tar.gz
Algorithm Hash digest
SHA256 f682ef3d2eaa83842cd4af26a32e75d55eb909238107554b233784f22f3c15cc
MD5 93cba7514936cc3ed4df1419f77a7cc7
BLAKE2b-256 7ae970c23fee00d6aa13fd7c9343e904790e47d279df7ea7de2d7586523ba76b

See more details on using hashes here.

Provenance

The following attestation bundles were made for d8s_hypothesis-0.7.0.tar.gz:

Publisher: release-please.yml on democritus-project/d8s-hypothesis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file d8s_hypothesis-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: d8s_hypothesis-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for d8s_hypothesis-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d2a509a920f6e60f50b8aad76c0772861a7115dcbb5adfbf9f862e63b4239f6
MD5 1d15755ef36dc9f2ff0400bdcf37c32b
BLAKE2b-256 a325abf622e254e340603a6ff299a7c8a5db05d1c9e2eee9f27d4e2ee4ef8882

See more details on using hashes here.

Provenance

The following attestation bundles were made for d8s_hypothesis-0.7.0-py3-none-any.whl:

Publisher: release-please.yml on democritus-project/d8s-hypothesis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page