Bool that resets on use.
Project description
Consumable
Bool that resets to false after use.
Example
from consumable import Consumable
consumable = Consumable(True)
if consumable:
print("Consumable is true!!")
if consumable:
print("Consumable is true!! Should not happen.")
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
consumable-1.1.2.tar.gz
(13.3 kB
view details)
Built Distribution
File details
Details for the file consumable-1.1.2.tar.gz
.
File metadata
- Download URL: consumable-1.1.2.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.12.0 Linux/6.5.5-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a607778daa897429ce41b842fcc8d42b02618bb9745da08be5ca610639c0337 |
|
MD5 | 04db637641692b4a161ff3e7766a9fb7 |
|
BLAKE2b-256 | 976cb2b04d6ce9dcf8cd68f40a098171464a4fc33e30ed6a78dd602b07c487f1 |
File details
Details for the file consumable-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: consumable-1.1.2-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.12.0 Linux/6.5.5-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e316a62990f5047916ac97fceed4ce0722bc1dd970b4350d5f51fd3b3eafe18d |
|
MD5 | e92a48ce5346f488c7e7dbbb6c4443b0 |
|
BLAKE2b-256 | c53ee43ef861e4b3895d1610c61b35c29e35ca7930ffd2b53b662538cdd763b2 |