Name | maybe-bool JSON |
Version |
1.0.0
JSON |
| download |
home_page | |
Summary | Have a boolean value that could evaluate to true or false |
upload_time | 2023-11-27 22:01:39 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.9 |
license | The MIT License (MIT) Copyright (c) 2023 Carl Furtado Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
boolean
maybe
joke
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Maybe-Boolean
The `Maybe` type from the `maybe_boolean` package creates a new boolean-like value that could could be true OR false when evaluated. Once it is evaluated to a boolean value, it keeps its identity. Install the library with `pip install maybe-bool`.
Short Example
```py
from maybe_boolean import Maybe
val = Maybe()
if val:
print(val) # prints `True`
else:
print(val) # prints `False`
```
Raw data
{
"_id": null,
"home_page": "",
"name": "maybe-bool",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "boolean,maybe,joke",
"author": "",
"author_email": "Carl Furtado <carlzfurtado@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/4c/83/a81cdaa966f7a7e952ec83a777f6a2965e359a0b364c7a061922a9f1efae/maybe-bool-1.0.0.tar.gz",
"platform": null,
"description": "# Maybe-Boolean\r\n\r\nThe `Maybe` type from the `maybe_boolean` package creates a new boolean-like value that could could be true OR false when evaluated. Once it is evaluated to a boolean value, it keeps its identity. Install the library with `pip install maybe-bool`.\r\n\r\nShort Example\r\n```py\r\nfrom maybe_boolean import Maybe\r\n\r\nval = Maybe()\r\n\r\nif val:\r\n\tprint(val) # prints `True`\r\nelse:\r\n\tprint(val) # prints `False`\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "The MIT License (MIT) Copyright (c) 2023 Carl Furtado Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Have a boolean value that could evaluate to true or false",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/User0332/maybe-boolean"
},
"split_keywords": [
"boolean",
"maybe",
"joke"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f2caaada824b9ceb1de3ef4bf1927f309fa532553a08ef7d7a234c9d48c8a4e3",
"md5": "e1503830468ab6bae4425aaf5b1a2dad",
"sha256": "482f3d389dde3362c30a8434118615e89d972d09a5ec6c1e7b338fb7f5cbac70"
},
"downloads": -1,
"filename": "maybe_bool-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e1503830468ab6bae4425aaf5b1a2dad",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 3483,
"upload_time": "2023-11-27T22:01:37",
"upload_time_iso_8601": "2023-11-27T22:01:37.875896Z",
"url": "https://files.pythonhosted.org/packages/f2/ca/aada824b9ceb1de3ef4bf1927f309fa532553a08ef7d7a234c9d48c8a4e3/maybe_bool-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4c83a81cdaa966f7a7e952ec83a777f6a2965e359a0b364c7a061922a9f1efae",
"md5": "4e4e2138f431fb8c3d60c98454ba847d",
"sha256": "f6e24df836806e3644e7a097a141b5185e980130527407dc104d4b7436a3e768"
},
"downloads": -1,
"filename": "maybe-bool-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "4e4e2138f431fb8c3d60c98454ba847d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 2520,
"upload_time": "2023-11-27T22:01:39",
"upload_time_iso_8601": "2023-11-27T22:01:39.403224Z",
"url": "https://files.pythonhosted.org/packages/4c/83/a81cdaa966f7a7e952ec83a777f6a2965e359a0b364c7a061922a9f1efae/maybe-bool-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-27 22:01:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "User0332",
"github_project": "maybe-boolean",
"github_not_found": true,
"lcname": "maybe-bool"
}