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 details)
Built Distribution
t_toolbox-0.1.1-py3-none-any.whl
(14.1 kB
view details)
File details
Details for the file t_toolbox-0.1.1.tar.gz
.
File metadata
- Download URL: t_toolbox-0.1.1.tar.gz
- Upload date:
- Size: 13.5 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 | d1d8a2f4da60f42f87458bcf57c16f613137c2b6267007704b554625adeea08d |
|
MD5 | 6499499f74faeb159e86c15b0ff6fbe1 |
|
BLAKE2b-256 | 01d00b5c8b02db95a0d28a6b55a4a00f1a03eeb46955be881727aa51641e03fa |
File details
Details for the file t_toolbox-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: t_toolbox-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.1 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 | b071d0c20c99b102fb5159dcf8c466b1a3a4f17d274a5357803540c03af3cfd9 |
|
MD5 | a2b6e525cc2a81f587cdd640f1d2744a |
|
BLAKE2b-256 | e01baf9f81b1372216122e7ec5919715f1b63841e25d3ae5c0684a45f4e935f9 |