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 t_toolbox 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.1.tar.gz
(13.5 kB
view hashes)
Built Distribution
t_toolbox-0.1.1-py3-none-any.whl
(14.1 kB
view hashes)
Close
Hashes for t_toolbox-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b071d0c20c99b102fb5159dcf8c466b1a3a4f17d274a5357803540c03af3cfd9 |
|
MD5 | a2b6e525cc2a81f587cdd640f1d2744a |
|
BLAKE2b-256 | e01baf9f81b1372216122e7ec5919715f1b63841e25d3ae5c0684a45f4e935f9 |