t-toolbox


Namet-toolbox JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2025-08-01 15:15:30
maintainerNone
docs_urlNone
authortaitep
requires_python<4.0,>=3.8
licenseGPL-3.0-or-later
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # T-Toolbox

My toolbox for python.

## Freeform

Freeform is a class that can turn any set of arguments into fields.

### Examples

```py
# 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

```py
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.")
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "t-toolbox",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "taitep",
    "author_email": "taitep@taitep.se",
    "download_url": "https://files.pythonhosted.org/packages/c9/51/a4d865cb8ab8af82ea81c7a24a7cd2a18f129e4bcd9bd85452173e97193f/t_toolbox-0.1.2.tar.gz",
    "platform": null,
    "description": "# T-Toolbox\n\nMy toolbox for python.\n\n## Freeform\n\nFreeform is a class that can turn any set of arguments into fields.\n\n### Examples\n\n```py\n# Import the Freeform class\nfrom t_toolbox import Freeform\n\n# Create a Freeform instance with class fields\nmy_data = Freeform(name=\"John\", age=30, city=\"New York\")\n\n# Access the class fields\nprint(\"Name:\", my_data.name)\nprint(\"Age:\", my_data.age)\nprint(\"City:\", my_data.city)\n\n```\n\n## Consumable\n\nBool that resets to false after use.\n\n### Examples\n\n```py\nfrom consumable import Consumable\n\nconsumable = Consumable(True)\n\nif consumable:\n    print(\"Consumable is true!!\")\n\nif consumable:\n    # Will not activate, previous use sets consumable to False!\n    print(\"Consumable is true again!! Should not happen.\")\n```\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": null,
    "version": "0.1.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "872b129d4d383f504ab9f4ba6fc8818f8bf661ed42da36efa412d5f57733ffa7",
                "md5": "f5701e828d341c737c79f5ee930ec1aa",
                "sha256": "8c541c01e0d01b93758ba60a0358de68d4d3c8991f4dd2e108fac5093effdcef"
            },
            "downloads": -1,
            "filename": "t_toolbox-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f5701e828d341c737c79f5ee930ec1aa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 14247,
            "upload_time": "2025-08-01T15:15:29",
            "upload_time_iso_8601": "2025-08-01T15:15:29.035232Z",
            "url": "https://files.pythonhosted.org/packages/87/2b/129d4d383f504ab9f4ba6fc8818f8bf661ed42da36efa412d5f57733ffa7/t_toolbox-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c951a4d865cb8ab8af82ea81c7a24a7cd2a18f129e4bcd9bd85452173e97193f",
                "md5": "d3b6c7a4a3474a339fb18076185ca64f",
                "sha256": "2671ee024581684971ed970e2b208df5011cd9e0b508de3ed5c0ee4ce01981f3"
            },
            "downloads": -1,
            "filename": "t_toolbox-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "d3b6c7a4a3474a339fb18076185ca64f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 13578,
            "upload_time": "2025-08-01T15:15:30",
            "upload_time_iso_8601": "2025-08-01T15:15:30.463900Z",
            "url": "https://files.pythonhosted.org/packages/c9/51/a4d865cb8ab8af82ea81c7a24a7cd2a18f129e4bcd9bd85452173e97193f/t_toolbox-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-01 15:15:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "t-toolbox"
}
        
Elapsed time: 4.28118s