printstyler


Nameprintstyler JSON
Version 0.2.3 PyPI version JSON
download
home_pagehttps://github.com/Jmofuture/printstyler
SummaryThe Printer package provides a simple way to print messages with ANSI colors and styles in Python.
upload_time2024-06-10 22:53:39
maintainerNone
docs_urlNone
authorJean Olmedillo
requires_python>=3.8
licenseNone
keywords print printer printstyler
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Printer Package

The `printstyler` package provides a simple way to print messages with ANSI colors and styles in Python.

## Installation

You can install the package using pip:

```bash
pip install printstyler



## Available Colors
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white

## Available Styles
- bold
- faint
- italic
- underline
- blink
- reversed
- hidden

#Usage

from printstyler import Printer as pr


# Print a standard message
pr.standard("This is a standard message", style="bold")

# Print an error message
pr.error("This is an error message", style="underline")

# Print an info message
pr.info("This is an info message", style="italic")

# Print a warning message
pr.warning("This is a warning message", style="blink")

# Print a success message
pr.success("This is a success message", style="reversed")

# Print a debug message
pr.debug("This is a debug message", style="hidden")

# Print a custom message
pr.custom("This is a custom message", color="white", style="bold", prefix="Custom:")


![example](image.png)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Jmofuture/printstyler",
    "name": "printstyler",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "print, printer, printstyler",
    "author": "Jean Olmedillo",
    "author_email": "jeanolmedillo@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/25/4b/31c2e5c5aa9677bb416aa83164d479244a5447d789c5c14e523c3d6ad35a/printstyler-0.2.3.tar.gz",
    "platform": null,
    "description": "# Printer Package\n\nThe `printstyler` package provides a simple way to print messages with ANSI colors and styles in Python.\n\n## Installation\n\nYou can install the package using pip:\n\n```bash\npip install printstyler\n\n\n\n## Available Colors\n- black\n- red\n- green\n- yellow\n- blue\n- magenta\n- cyan\n- white\n\n## Available Styles\n- bold\n- faint\n- italic\n- underline\n- blink\n- reversed\n- hidden\n\n#Usage\n\nfrom printstyler import Printer as pr\n\n\n# Print a standard message\npr.standard(\"This is a standard message\", style=\"bold\")\n\n# Print an error message\npr.error(\"This is an error message\", style=\"underline\")\n\n# Print an info message\npr.info(\"This is an info message\", style=\"italic\")\n\n# Print a warning message\npr.warning(\"This is a warning message\", style=\"blink\")\n\n# Print a success message\npr.success(\"This is a success message\", style=\"reversed\")\n\n# Print a debug message\npr.debug(\"This is a debug message\", style=\"hidden\")\n\n# Print a custom message\npr.custom(\"This is a custom message\", color=\"white\", style=\"bold\", prefix=\"Custom:\")\n\n\n![example](image.png)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "The Printer package provides a simple way to print messages with ANSI colors and styles in Python.",
    "version": "0.2.3",
    "project_urls": {
        "Homepage": "https://github.com/Jmofuture/printstyler"
    },
    "split_keywords": [
        "print",
        " printer",
        " printstyler"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "68e26044119a077f5ce0e2b7c376962971ae18dd3ecffcfacf56718a39b1afc1",
                "md5": "1c5bc6e2b2b04bd492e0452a87176e7c",
                "sha256": "e94b25e33badb1579165a254750e95746ec83fb13e45d356b9795d22784367a4"
            },
            "downloads": -1,
            "filename": "printstyler-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1c5bc6e2b2b04bd492e0452a87176e7c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4370,
            "upload_time": "2024-06-10T22:53:38",
            "upload_time_iso_8601": "2024-06-10T22:53:38.082076Z",
            "url": "https://files.pythonhosted.org/packages/68/e2/6044119a077f5ce0e2b7c376962971ae18dd3ecffcfacf56718a39b1afc1/printstyler-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "254b31c2e5c5aa9677bb416aa83164d479244a5447d789c5c14e523c3d6ad35a",
                "md5": "acba318d7af04464f3771c2d0653c10b",
                "sha256": "df6f9ab6225b5b2122f4f91d589c6358bb278aac160b87d40cdee85a6b68d48a"
            },
            "downloads": -1,
            "filename": "printstyler-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "acba318d7af04464f3771c2d0653c10b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3905,
            "upload_time": "2024-06-10T22:53:39",
            "upload_time_iso_8601": "2024-06-10T22:53:39.515930Z",
            "url": "https://files.pythonhosted.org/packages/25/4b/31c2e5c5aa9677bb416aa83164d479244a5447d789c5c14e523c3d6ad35a/printstyler-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-10 22:53:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Jmofuture",
    "github_project": "printstyler",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "printstyler"
}
        
Elapsed time: 0.35172s