d8s-hypothesis


Named8s-hypothesis JSON
Version 0.6.0 PyPI version JSON
download
home_pagehttps://github.com/democritus-project/d8s-hypothesis
SummaryDemocritus functions to interact with Hypothesis.
upload_time2021-05-07 10:54:48
maintainer
docs_urlNone
authorFloyd Hightower
requires_python
licenseGNU Lesser General Public License v3
keywords democritus hypothesis hypothesis testing tests utility utils hypothesis utility
VCS
bugtrack_url
requirements hypothesis importlib-metadata
Travis-CI No Travis.
coveralls test coverage
            # Democritus Hypothesis

[![PyPI](https://img.shields.io/pypi/v/d8s-hypothesis.svg)](https://pypi.python.org/pypi/d8s-hypothesis)
[![CI](https://github.com/democritus-project/d8s-hypothesis/workflows/CI/badge.svg)](https://github.com/democritus-project/d8s-hypothesis/actions)
[![Lint](https://github.com/democritus-project/d8s-hypothesis/workflows/Lint/badge.svg)](https://github.com/democritus-project/d8s-hypothesis/actions)
[![codecov](https://codecov.io/gh/democritus-project/d8s-hypothesis/branch/main/graph/badge.svg?token=V0WOIXRGMM)](https://codecov.io/gh/democritus-project/d8s-hypothesis)
[![The Democritus Project uses semver version 2.0.0](https://img.shields.io/badge/-semver%20v2.0.0-22bfda)](https://semver.org/spec/v2.0.0.html)
[![The Democritus Project uses black to format code](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://choosealicense.com/licenses/lgpl-3.0/)

Democritus functions<sup>[1]</sup> for working with [Hypothesis](https://hypothesis.readthedocs.io/en/latest/).

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

We use `d8s` (pronounced "dee-eights") as an abbreviation for `democritus` (you can read more about this [here](https://github.com/democritus-project/roadmap#what-is-d8s)).

## Installation

```
pip install d8s-hypothesis
```

## Usage

You import the library like:

```python
from d8s_hypothesis import *
```

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

## Functions

  - ```python
    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

๐Ÿ‘‹ &nbsp;If you want to get involved in this project, we have some short, helpful guides below:

- [contribute to this project ๐Ÿฅ‡][contributing]
- [test it ๐Ÿงช][local-dev]
- [lint it ๐Ÿงน][local-dev]
- [explore it ๐Ÿ”ญ][local-dev]

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](https://github.com/audreyr/cookiecutter) and Floyd Hightower's [Python project template](https://github.com/fhightower-templates/python-project-template).

[contributing]: https://github.com/democritus-project/.github/blob/main/CONTRIBUTING.md#contributing-a-pr-
[local-dev]: https://github.com/democritus-project/.github/blob/main/CONTRIBUTING.md#local-development-



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/democritus-project/d8s-hypothesis",
    "name": "d8s-hypothesis",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "democritus,hypothesis,hypothesis testing,tests,utility,utils,hypothesis utility",
    "author": "Floyd Hightower",
    "author_email": "floyd.hightower27@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/10/42/c09a779ccd2b8cc299287aff1e2060faed4376bb991cbb6e3ad86ff94cad/d8s_hypothesis-0.6.0.tar.gz",
    "platform": "",
    "description": "# Democritus Hypothesis\n\n[![PyPI](https://img.shields.io/pypi/v/d8s-hypothesis.svg)](https://pypi.python.org/pypi/d8s-hypothesis)\n[![CI](https://github.com/democritus-project/d8s-hypothesis/workflows/CI/badge.svg)](https://github.com/democritus-project/d8s-hypothesis/actions)\n[![Lint](https://github.com/democritus-project/d8s-hypothesis/workflows/Lint/badge.svg)](https://github.com/democritus-project/d8s-hypothesis/actions)\n[![codecov](https://codecov.io/gh/democritus-project/d8s-hypothesis/branch/main/graph/badge.svg?token=V0WOIXRGMM)](https://codecov.io/gh/democritus-project/d8s-hypothesis)\n[![The Democritus Project uses semver version 2.0.0](https://img.shields.io/badge/-semver%20v2.0.0-22bfda)](https://semver.org/spec/v2.0.0.html)\n[![The Democritus Project uses black to format code](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://choosealicense.com/licenses/lgpl-3.0/)\n\nDemocritus functions<sup>[1]</sup> for working with [Hypothesis](https://hypothesis.readthedocs.io/en/latest/).\n\n[1] Democritus functions are <i>simple, effective, modular, well-tested, and well-documented</i> Python functions.\n\nWe use `d8s` (pronounced \"dee-eights\") as an abbreviation for `democritus` (you can read more about this [here](https://github.com/democritus-project/roadmap#what-is-d8s)).\n\n## Installation\n\n```\npip install d8s-hypothesis\n```\n\n## Usage\n\nYou import the library like:\n\n```python\nfrom d8s_hypothesis import *\n```\n\nOnce imported, you can use any of the functions listed below.\n\n## Functions\n\n  - ```python\n    def hypothesis_get_strategy_results(strategy, *args, n: int = 10, **kwargs):\n        \"\"\"Return the given n of results from the given hypothesis strategy.\n\n    For a list of hypothesis strategies, see: https://hypothesis.readthedocs.io/en/latest/data.html.\"\"\"\n    ```\n\n## Development\n\n\ud83d\udc4b &nbsp;If you want to get involved in this project, we have some short, helpful guides below:\n\n- [contribute to this project \ud83e\udd47][contributing]\n- [test it \ud83e\uddea][local-dev]\n- [lint it \ud83e\uddf9][local-dev]\n- [explore it \ud83d\udd2d][local-dev]\n\nIf you have any questions or there is anything we did not cover, please raise an issue and we'll be happy to help.\n\n## Credits\n\nThis package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and Floyd Hightower's [Python project template](https://github.com/fhightower-templates/python-project-template).\n\n[contributing]: https://github.com/democritus-project/.github/blob/main/CONTRIBUTING.md#contributing-a-pr-\n[local-dev]: https://github.com/democritus-project/.github/blob/main/CONTRIBUTING.md#local-development-\n\n\n",
    "bugtrack_url": null,
    "license": "GNU Lesser General Public License v3",
    "summary": "Democritus functions to interact with Hypothesis.",
    "version": "0.6.0",
    "project_urls": {
        "Homepage": "https://github.com/democritus-project/d8s-hypothesis"
    },
    "split_keywords": [
        "democritus",
        "hypothesis",
        "hypothesis testing",
        "tests",
        "utility",
        "utils",
        "hypothesis utility"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b24f3e4967b1f058e1b79cf353b5ecd37bacfb1ed0f2de71580e3178bf0491b",
                "md5": "616dec252b22791136f4ff4aefbaf459",
                "sha256": "1d883c06fd05adc8c8f9f13de180f70ecc41cdfa1fee21055341b5ddc49a091d"
            },
            "downloads": -1,
            "filename": "d8s_hypothesis-0.6.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "616dec252b22791136f4ff4aefbaf459",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 19377,
            "upload_time": "2021-05-07T10:54:46",
            "upload_time_iso_8601": "2021-05-07T10:54:46.822788Z",
            "url": "https://files.pythonhosted.org/packages/8b/24/f3e4967b1f058e1b79cf353b5ecd37bacfb1ed0f2de71580e3178bf0491b/d8s_hypothesis-0.6.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1042c09a779ccd2b8cc299287aff1e2060faed4376bb991cbb6e3ad86ff94cad",
                "md5": "417f830d4e680287da2f7649b9782df5",
                "sha256": "d3219bf4b1edb1742a0a2fe429c39b5b776374ecabe41e575bda2ee6980da058"
            },
            "downloads": -1,
            "filename": "d8s_hypothesis-0.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "417f830d4e680287da2f7649b9782df5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 23014,
            "upload_time": "2021-05-07T10:54:48",
            "upload_time_iso_8601": "2021-05-07T10:54:48.346782Z",
            "url": "https://files.pythonhosted.org/packages/10/42/c09a779ccd2b8cc299287aff1e2060faed4376bb991cbb6e3ad86ff94cad/d8s_hypothesis-0.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-05-07 10:54:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "democritus-project",
    "github_project": "d8s-hypothesis",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [
        {
            "name": "hypothesis",
            "specs": []
        },
        {
            "name": "importlib-metadata",
            "specs": []
        }
    ],
    "lcname": "d8s-hypothesis"
}
        
Elapsed time: 3.03856s