Skip to main content

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.3.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

consumable-1.1.3-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file consumable-1.1.3.tar.gz.

File metadata

  • Download URL: consumable-1.1.3.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Linux/6.15.8-arch1-1

File hashes

Hashes for consumable-1.1.3.tar.gz
Algorithm Hash digest
SHA256 8e11d1b0f084e378922b772f2a088d192bda2972bd82ddbbac8e304752617c4e
MD5 0fa5dfd82c70c121c4d424bee86aa835
BLAKE2b-256 94254a22d93ba657aee3998c9449e28d155c15c9b4e9aecb1d655ab6af74f485

See more details on using hashes here.

File details

Details for the file consumable-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: consumable-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Linux/6.15.8-arch1-1

File hashes

Hashes for consumable-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b45527394ee58435052f941fe28e27200d3612b2789e9cd8ffa402f1cbada2c9
MD5 1a4685748e6c6fc060cadfab0c3729f9
BLAKE2b-256 f71fed84d021577502d3b9c6866453d3cc94185ec826c9393f9e8b1f687ba280

See more details on using hashes here.

Supported by

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