## 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. <br/>
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.
```python
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")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/kamudi/kindabool",
"name": "kindabool",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "bool boolean kindabool kinda_bool kinda_boolean",
"author": "kamudi",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/aa/4d/eaadfaf214837937ffac273c3c11c495301ef78bfe9c77c8652488e78b47/kindabool-1.0.0.tar.gz",
"platform": null,
"description": "## kindabool\r\n\r\nLets 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.\r\n\r\nWe need kindabool. <br/>\r\nWith kindabool, you get 3 more options: `KindaTrue`, `Neutral`, and `KindaFalse`.\r\n\r\n## Usage\r\nYou can either use the initiated variables, `KindaTrue`, `Neutral`, and `KindaFalse`, or you can directly create a `KindaBool` object.\r\n\r\n```python\r\nfrom kindabool import * # usually a bad idea, but its kinda essential to the library\r\n\r\n\r\nif True:\r\n print(\"This will always be printed\")\r\n\r\nif KindaTrue:\r\n print(\"This has a 75% chance of being printed\")\r\n\r\nif Neutral:\r\n print(\"This has a 50% chance of being printed\")\r\n\r\nif KindaFalse:\r\n print(\"This has a 25% chance of being printed\")\r\n\r\nif False:\r\n print(\"This will never be printed\")\r\n\r\nif kindabool.kinda_bool.KindaBool(1): # constructor takes an int from 1-5\r\n print(\"This will never be printed\")\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A python package for things that are only kinda true.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/kamudi/kindabool"
},
"split_keywords": [
"bool",
"boolean",
"kindabool",
"kinda_bool",
"kinda_boolean"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d858ff177b6568b5e56409064fcce5259248c33f9033b74b1b12f7e871d67712",
"md5": "81a3730f7cfd77c925052f2bdc05eb56",
"sha256": "3d1f13ad570486f82c6dbe06a7058f6e791c1f494c811a418003a0720e02e344"
},
"downloads": -1,
"filename": "kindabool-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "81a3730f7cfd77c925052f2bdc05eb56",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3030,
"upload_time": "2023-10-11T13:41:42",
"upload_time_iso_8601": "2023-10-11T13:41:42.250485Z",
"url": "https://files.pythonhosted.org/packages/d8/58/ff177b6568b5e56409064fcce5259248c33f9033b74b1b12f7e871d67712/kindabool-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aa4deaadfaf214837937ffac273c3c11c495301ef78bfe9c77c8652488e78b47",
"md5": "578dadefce544decdc41a618b85054ab",
"sha256": "20ef2ea799841080cad7deda8ed4a24b845e05617403ac23127e6c4b3eb217dc"
},
"downloads": -1,
"filename": "kindabool-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "578dadefce544decdc41a618b85054ab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2585,
"upload_time": "2023-10-11T13:41:43",
"upload_time_iso_8601": "2023-10-11T13:41:43.806982Z",
"url": "https://files.pythonhosted.org/packages/aa/4d/eaadfaf214837937ffac273c3c11c495301ef78bfe9c77c8652488e78b47/kindabool-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-11 13:41:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kamudi",
"github_project": "kindabool",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "kindabool"
}