Skip to main content

A python package for things that are only kinda true.

Project description

kindabool

Lets face it, the concept of a boolean is simply too outdated for the modern world. We need something more. We need something that can represent the complexity of the human condition.

We need kindabool.
With kindabool, you get 3 more options: KindaTrue, Neutral, and KindaFalse.

Usage

You can either use the initiated variables, KindaTrue, Neutral, and KindaFalse, or you can directly create a KindaBool object.

from kindabool import *  # usually a bad idea, but its kinda essential to the library


if True:
    print("This will always be printed")

if KindaTrue:
    print("This has a 75% chance of being printed")

if Neutral:
    print("This has a 50% chance of being printed")

if KindaFalse:
    print("This has a 25% chance of being printed")

if False:
    print("This will never be printed")

if kindabool.kinda_bool.KindaBool(1):  # constructor takes an int from 1-5
    print("This will never be printed")

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

kindabool-1.0.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

kindabool-1.0.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file kindabool-1.0.0.tar.gz.

File metadata

  • Download URL: kindabool-1.0.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for kindabool-1.0.0.tar.gz
Algorithm Hash digest
SHA256 20ef2ea799841080cad7deda8ed4a24b845e05617403ac23127e6c4b3eb217dc
MD5 578dadefce544decdc41a618b85054ab
BLAKE2b-256 aa4deaadfaf214837937ffac273c3c11c495301ef78bfe9c77c8652488e78b47

See more details on using hashes here.

File details

Details for the file kindabool-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: kindabool-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for kindabool-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d1f13ad570486f82c6dbe06a7058f6e791c1f494c811a418003a0720e02e344
MD5 81a3730f7cfd77c925052f2bdc05eb56
BLAKE2b-256 d858ff177b6568b5e56409064fcce5259248c33f9033b74b1b12f7e871d67712

See more details on using hashes here.

Supported by

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