Release v0.3.1 (What’s new?).

Documentation Status https://github.com/MacHu-GWU/tt4human-project/workflows/CI/badge.svg https://codecov.io/gh/MacHu-GWU/tt4human-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/tt4human.svg https://img.shields.io/pypi/l/tt4human.svg https://img.shields.io/pypi/pyversions/tt4human.svg https://img.shields.io/badge/Release_History!--None.svg?style=social https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Document-blue.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to tt4human Documentation#

📔 See Full Documentation HERE.

https://tt4human.readthedocs.io/en/latest/_static/tt4human-logo.png

A 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#

tt4human is released on PyPI, so all you need is to:

$ pip install tt4human

To upgrade to latest version:

$ pip install --upgrade tt4human

Table of Content#

About the Author#

(\ (\
( -.-)o
o_(")(")

Sanhe Hu is a seasoned software engineer with a deep passion for Python development since 2010. As an author and maintainer of 20+ open-source projects, I bring a wealth of experience to the table. As a Senior Solution Architect and Subject Matter Expert in Amazon Web Services, Cloud Engineering, DevOps, Big Data, and Machine Learning, I thrive on helping clients with platform design, enterprise architecture, and strategic roadmaps.

Talk is cheap, show me the code:

API Document#