.. image:: https://readthedocs.org/projects/tt4human/badge/?version=latest
    :target: https://tt4human.readthedocs.io/en/latest/
    :alt: Documentation Status
.. image:: https://github.com/MacHu-GWU/tt4human-project/workflows/CI/badge.svg
    :target: https://github.com/MacHu-GWU/tt4human-project/actions?query=workflow:CI
.. image:: https://codecov.io/gh/MacHu-GWU/tt4human-project/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/MacHu-GWU/tt4human-project
.. image:: https://img.shields.io/pypi/v/tt4human.svg
    :target: https://pypi.python.org/pypi/tt4human
.. image:: https://img.shields.io/pypi/l/tt4human.svg
    :target: https://pypi.python.org/pypi/tt4human
.. image:: https://img.shields.io/pypi/pyversions/tt4human.svg
    :target: https://pypi.python.org/pypi/tt4human
.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/tt4human-project/blob/main/release-history.rst
.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/tt4human-project
------
.. image:: https://img.shields.io/badge/Link-Document-blue.svg
    :target: https://tt4human.readthedocs.io/en/latest/
.. image:: https://img.shields.io/badge/Link-API-blue.svg
    :target: https://tt4human.readthedocs.io/en/latest/py-modindex.html
.. image:: https://img.shields.io/badge/Link-Install-blue.svg
    :target: `install`_
.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg
    :target: https://github.com/MacHu-GWU/tt4human-project
.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
    :target: https://github.com/MacHu-GWU/tt4human-project/issues
.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
    :target: https://github.com/MacHu-GWU/tt4human-project/issues
.. image:: https://img.shields.io/badge/Link-Download-blue.svg
    :target: https://pypi.org/pypi/tt4human#files
Welcome to ``tt4human`` Documentation
==============================================================================
📔 See `Full Documentation HERE <https://tt4human.readthedocs.io/index.html>`_.
.. image:: https://tt4human.readthedocs.io/en/latest/_static/tt4human-logo.png
A `Truth Table <https://en.wikipedia.org/wiki/Truth_table>`_ is like a cheat sheet that helps us figure out if something is true or false based on certain **"conditions"**. We call a specific combination of conditions a **"case."** The outcome, whether it's true or false, is what we call the **"target."**
Imagine you're trying to decide whether or not you should go out. Two things could affect your decision: the weather and what time you wake up. So, in this situation, the weather and your wake-up time are the "conditions". When you combine these conditions, like if it's sunny and you woke up early, that combination is a "case." And the big question of whether you should go out or not is your "target." The Truth Table helps us organize all these cases and their outcomes to make decisions easier.
For example, we have two types of conditions: ``weather`` and ``get_up`` (when you get up). And we want to determine if you will go out. ``weather`` has two possible values: ``is_sunny`` and ``not_sunny``. ``get_up`` has three possible values: ``before_10``, ``10_to_2``, ``after_2``. Below is the truth table::
    weather     get_up      go_out
    is_sunny    before_10   1
    is_sunny    10_to_2     1
    is_sunny    after_2     0
    not_sunny   before_10   0
    not_sunny   10_to_2     0
    not_sunny   after_2     0
``tt4human`` provides some tools to work with Truth Table in Python.
.. _install:
Install
------------------------------------------------------------------------------
``tt4human`` is released on PyPI, so all you need is to:
.. code-block:: console
    $ pip install tt4human
To upgrade to latest version:
.. code-block:: console
    $ pip install --upgrade tt4human
            
         
        Raw data
        
            {
    "_id": null,
    "home_page": "https://github.com/MacHu-GWU/tt4human-project",
    "name": "tt4human",
    "maintainer": "Sanhe Hu",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "husanhe@gmail.com",
    "keywords": "",
    "author": "Sanhe Hu",
    "author_email": "husanhe@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/10/93/89058b094c4b59ed4fbeb37c9ba4657c7443fef3c1ba3040668a5d5d9520/tt4human-0.3.1.tar.gz",
    "platform": "Windows",
    "description": "\n.. image:: https://readthedocs.org/projects/tt4human/badge/?version=latest\n    :target: https://tt4human.readthedocs.io/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://github.com/MacHu-GWU/tt4human-project/workflows/CI/badge.svg\n    :target: https://github.com/MacHu-GWU/tt4human-project/actions?query=workflow:CI\n\n.. image:: https://codecov.io/gh/MacHu-GWU/tt4human-project/branch/main/graph/badge.svg\n    :target: https://codecov.io/gh/MacHu-GWU/tt4human-project\n\n.. image:: https://img.shields.io/pypi/v/tt4human.svg\n    :target: https://pypi.python.org/pypi/tt4human\n\n.. image:: https://img.shields.io/pypi/l/tt4human.svg\n    :target: https://pypi.python.org/pypi/tt4human\n\n.. image:: https://img.shields.io/pypi/pyversions/tt4human.svg\n    :target: https://pypi.python.org/pypi/tt4human\n\n.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social\n    :target: https://github.com/MacHu-GWU/tt4human-project/blob/main/release-history.rst\n\n.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social\n    :target: https://github.com/MacHu-GWU/tt4human-project\n\n------\n\n.. image:: https://img.shields.io/badge/Link-Document-blue.svg\n    :target: https://tt4human.readthedocs.io/en/latest/\n\n.. image:: https://img.shields.io/badge/Link-API-blue.svg\n    :target: https://tt4human.readthedocs.io/en/latest/py-modindex.html\n\n.. image:: https://img.shields.io/badge/Link-Install-blue.svg\n    :target: `install`_\n\n.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg\n    :target: https://github.com/MacHu-GWU/tt4human-project\n\n.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg\n    :target: https://github.com/MacHu-GWU/tt4human-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg\n    :target: https://github.com/MacHu-GWU/tt4human-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Download-blue.svg\n    :target: https://pypi.org/pypi/tt4human#files\n\n\nWelcome to ``tt4human`` Documentation\n==============================================================================\n\ud83d\udcd4 See `Full Documentation HERE <https://tt4human.readthedocs.io/index.html>`_.\n\n.. image:: https://tt4human.readthedocs.io/en/latest/_static/tt4human-logo.png\n\nA `Truth Table <https://en.wikipedia.org/wiki/Truth_table>`_ is like a cheat sheet that helps us figure out if something is true or false based on certain **\"conditions\"**. We call a specific combination of conditions a **\"case.\"** The outcome, whether it's true or false, is what we call the **\"target.\"**\n\nImagine you're trying to decide whether or not you should go out. Two things could affect your decision: the weather and what time you wake up. So, in this situation, the weather and your wake-up time are the \"conditions\". When you combine these conditions, like if it's sunny and you woke up early, that combination is a \"case.\" And the big question of whether you should go out or not is your \"target.\" The Truth Table helps us organize all these cases and their outcomes to make decisions easier.\n\nFor example, we have two types of conditions: ``weather`` and ``get_up`` (when you get up). And we want to determine if you will go out. ``weather`` has two possible values: ``is_sunny`` and ``not_sunny``. ``get_up`` has three possible values: ``before_10``, ``10_to_2``, ``after_2``. Below is the truth table::\n\n    weather     get_up      go_out\n    is_sunny    before_10   1\n    is_sunny    10_to_2     1\n    is_sunny    after_2     0\n    not_sunny   before_10   0\n    not_sunny   10_to_2     0\n    not_sunny   after_2     0\n\n``tt4human`` provides some tools to work with Truth Table in Python.\n\n\n.. _install:\n\nInstall\n------------------------------------------------------------------------------\n\n``tt4human`` is released on PyPI, so all you need is to:\n\n.. code-block:: console\n\n    $ pip install tt4human\n\nTo upgrade to latest version:\n\n.. code-block:: console\n\n    $ pip install --upgrade tt4human\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Truth table evaluator and Truth table enum module generator.",
    "version": "0.3.1",
    "project_urls": {
        "Download": "https://pypi.python.org/pypi/tt4human/0.3.1#downloads",
        "Homepage": "https://github.com/MacHu-GWU/tt4human-project"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bdffad03b97e141b89079e084ac48b208fce973752ce7522d4f4befbb5d2a03a",
                "md5": "3253dfb5033f2ad04e947f68ec06c779",
                "sha256": "b57076592cdb0a47544eed951e78fc7250fa0712031658d89b19b32025cca680"
            },
            "downloads": -1,
            "filename": "tt4human-0.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3253dfb5033f2ad04e947f68ec06c779",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 27250,
            "upload_time": "2024-01-03T03:35:38",
            "upload_time_iso_8601": "2024-01-03T03:35:38.438182Z",
            "url": "https://files.pythonhosted.org/packages/bd/ff/ad03b97e141b89079e084ac48b208fce973752ce7522d4f4befbb5d2a03a/tt4human-0.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "109389058b094c4b59ed4fbeb37c9ba4657c7443fef3c1ba3040668a5d5d9520",
                "md5": "0b93269bad5fc6f8ad5fa45116edf4b2",
                "sha256": "4345540e8833e67b412f73d86e877ca904a1e56349032937b048676541e6b0ea"
            },
            "downloads": -1,
            "filename": "tt4human-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "0b93269bad5fc6f8ad5fa45116edf4b2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 30245,
            "upload_time": "2024-01-03T03:35:40",
            "upload_time_iso_8601": "2024-01-03T03:35:40.238591Z",
            "url": "https://files.pythonhosted.org/packages/10/93/89058b094c4b59ed4fbeb37c9ba4657c7443fef3c1ba3040668a5d5d9520/tt4human-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-03 03:35:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MacHu-GWU",
    "github_project": "tt4human-project",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [
        {
            "name": "cached-property",
            "specs": [
                [
                    ">=",
                    "1.5.2"
                ]
            ]
        },
        {
            "name": "dataclasses",
            "specs": [
                [
                    ">=",
                    "0.8"
                ]
            ]
        }
    ],
    "lcname": "tt4human"
}