consumable


Nameconsumable JSON
Version 1.1.2 PyPI version JSON
download
home_page
SummaryBool that resets on use.
upload_time2023-10-30 17:54:12
maintainer
docs_urlNone
authortaitep
requires_python>=3.8,<4.0
licenseGPL-3.0-only
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Consumable

Bool that resets to false after use.

## Example

```py
from consumable import Consumable

consumable = Consumable(True)

if consumable:
    print("Consumable is true!!")

if consumable:
    print("Consumable is true!! Should not happen.")
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "consumable",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "taitep",
    "author_email": "arvid@h.se",
    "download_url": "https://files.pythonhosted.org/packages/97/6c/b2b04d6ce9dcf8cd68f40a098171464a4fc33e30ed6a78dd602b07c487f1/consumable-1.1.2.tar.gz",
    "platform": null,
    "description": "# Consumable\n\nBool that resets to false after use.\n\n## Example\n\n```py\nfrom consumable import Consumable\n\nconsumable = Consumable(True)\n\nif consumable:\n    print(\"Consumable is true!!\")\n\nif consumable:\n    print(\"Consumable is true!! Should not happen.\")\n```\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-only",
    "summary": "Bool that resets on use.",
    "version": "1.1.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c53ee43ef861e4b3895d1610c61b35c29e35ca7930ffd2b53b662538cdd763b2",
                "md5": "e92a48ce5346f488c7e7dbbb6c4443b0",
                "sha256": "e316a62990f5047916ac97fceed4ce0722bc1dd970b4350d5f51fd3b3eafe18d"
            },
            "downloads": -1,
            "filename": "consumable-1.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e92a48ce5346f488c7e7dbbb6c4443b0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 13707,
            "upload_time": "2023-10-30T17:54:10",
            "upload_time_iso_8601": "2023-10-30T17:54:10.667481Z",
            "url": "https://files.pythonhosted.org/packages/c5/3e/e43ef861e4b3895d1610c61b35c29e35ca7930ffd2b53b662538cdd763b2/consumable-1.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "976cb2b04d6ce9dcf8cd68f40a098171464a4fc33e30ed6a78dd602b07c487f1",
                "md5": "04db637641692b4a161ff3e7766a9fb7",
                "sha256": "4a607778daa897429ce41b842fcc8d42b02618bb9745da08be5ca610639c0337"
            },
            "downloads": -1,
            "filename": "consumable-1.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "04db637641692b4a161ff3e7766a9fb7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 13272,
            "upload_time": "2023-10-30T17:54:12",
            "upload_time_iso_8601": "2023-10-30T17:54:12.257217Z",
            "url": "https://files.pythonhosted.org/packages/97/6c/b2b04d6ce9dcf8cd68f40a098171464a4fc33e30ed6a78dd602b07c487f1/consumable-1.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-30 17:54:12",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "consumable"
}
        
Elapsed time: 0.13605s