No project description provided
Project description
T-Toolbox
My toolbox for python.
Freeform
Freeform is a class that can turn any set of arguments into fields.
Examples
# Import the Freeform class
from freeform import Freeform
# Create a Freeform instance with class fields
my_data = Freeform(name="John", age=30, city="New York")
# Access the class fields
print("Name:", my_data.name)
print("Age:", my_data.age)
print("City:", my_data.city)
Consumable
Bool that resets to false after use.
Examples
from consumable import Consumable
consumable = Consumable(True)
if consumable:
print("Consumable is true!!")
if consumable:
# Will not activate, previous use sets consumable to False!
print("Consumable is true again!! Should not happen.")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
t_toolbox-0.1.0.tar.gz
(13.5 kB
view hashes)
Built Distribution
t_toolbox-0.1.0-py3-none-any.whl
(14.1 kB
view hashes)
Close
Hashes for t_toolbox-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d394b92ce807a02a49a13951eeb0bc2f7933284ff5f4b4d49468b7cb20a41f |
|
MD5 | dec1d532d0f54c950b67376c0387dddc |
|
BLAKE2b-256 | fb9c6f47b1016923de7984aa8a25b8ee4299fb06b42e422c70b08bea41f97a86 |