t-toolbox


Namet-toolbox JSON
Version 0.1.1 PyPI version JSON
download
home_page
Summary
upload_time2023-10-30 18:51:46
maintainer
docs_urlNone
authortaitep
requires_python>=3.8,<4.0
license
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": "",
    "name": "t-toolbox",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "taitep",
    "author_email": "arvid@h.se",
    "download_url": "https://files.pythonhosted.org/packages/01/d0/0b5c8b02db95a0d28a6b55a4a00f1a03eeb46955be881727aa51641e03fa/t_toolbox-0.1.1.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": "",
    "summary": "",
    "version": "0.1.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e01baf9f81b1372216122e7ec5919715f1b63841e25d3ae5c0684a45f4e935f9",
                "md5": "a2b6e525cc2a81f587cdd640f1d2744a",
                "sha256": "b071d0c20c99b102fb5159dcf8c466b1a3a4f17d274a5357803540c03af3cfd9"
            },
            "downloads": -1,
            "filename": "t_toolbox-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a2b6e525cc2a81f587cdd640f1d2744a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 14073,
            "upload_time": "2023-10-30T18:51:45",
            "upload_time_iso_8601": "2023-10-30T18:51:45.292870Z",
            "url": "https://files.pythonhosted.org/packages/e0/1b/af9f81b1372216122e7ec5919715f1b63841e25d3ae5c0684a45f4e935f9/t_toolbox-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "01d00b5c8b02db95a0d28a6b55a4a00f1a03eeb46955be881727aa51641e03fa",
                "md5": "6499499f74faeb159e86c15b0ff6fbe1",
                "sha256": "d1d8a2f4da60f42f87458bcf57c16f613137c2b6267007704b554625adeea08d"
            },
            "downloads": -1,
            "filename": "t_toolbox-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6499499f74faeb159e86c15b0ff6fbe1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 13496,
            "upload_time": "2023-10-30T18:51:46",
            "upload_time_iso_8601": "2023-10-30T18:51:46.917118Z",
            "url": "https://files.pythonhosted.org/packages/01/d0/0b5c8b02db95a0d28a6b55a4a00f1a03eeb46955be881727aa51641e03fa/t_toolbox-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-30 18:51:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "t-toolbox"
}
        
Elapsed time: 0.17235s