python-colored-print


Namepython-colored-print JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/agn-7/colored-print
SummaryA simple python library in order to print in different colorsand save them into a file optionally.
upload_time2024-04-12 09:52:13
maintainerNone
docs_urlNone
authoragn-7
requires_pythonNone
licenseMIT
keywords log logging python3 python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
Colored Print
-------------


.. image:: https://img.shields.io/pypi/v/python-colored-print
   :target: https://pypi.org/project/python-colored-print/
   :alt: PyPI


.. image:: https://img.shields.io/pypi/pyversions/python-colored-print
   :target: https://pypi.org/project/python-colored-print/
   :alt: Python Versions


.. image:: https://img.shields.io/badge/license-MIT-blue.svg
   :target: https://raw.githubusercontent.com/agn-7/colored-print/master/LICENSE
   :alt: GitHub license


A lightweight python library in order to print in different colors and save them into a file optionally.

Setup
-----

.. code-block:: bash

   pip install python-colored-print

Usage
-----

.. code-block:: python

   from colored_print import log

   log.success("Hello", 123, "Bye").store()
   log.info("Hello", 123, "Bye")
   log.warn("Hello", 123, "Bye")
   log.err("Hello", 123, "Bye").store()
   log.pink("Hello", 123, "Bye")
   log("Hello", 123, "Bye")  # default color is white

Output
------


.. image:: https://i.stack.imgur.com/HMVP6.png
   :target: https://i.stack.imgur.com/HMVP6.png
   :alt: Output




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/agn-7/colored-print",
    "name": "python-colored-print",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "log, logging, python3, python",
    "author": "agn-7",
    "author_email": "benyaminjmf@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/38/f9/e3ea946eaa748bb11d5a3db6368e4ea3e9ff78adb87752e63ab53651848b/python_colored_print-1.1.0.tar.gz",
    "platform": null,
    "description": "\nColored Print\n-------------\n\n\n.. image:: https://img.shields.io/pypi/v/python-colored-print\n   :target: https://pypi.org/project/python-colored-print/\n   :alt: PyPI\n\n\n.. image:: https://img.shields.io/pypi/pyversions/python-colored-print\n   :target: https://pypi.org/project/python-colored-print/\n   :alt: Python Versions\n\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n   :target: https://raw.githubusercontent.com/agn-7/colored-print/master/LICENSE\n   :alt: GitHub license\n\n\nA lightweight python library in order to print in different colors and save them into a file optionally.\n\nSetup\n-----\n\n.. code-block:: bash\n\n   pip install python-colored-print\n\nUsage\n-----\n\n.. code-block:: python\n\n   from colored_print import log\n\n   log.success(\"Hello\", 123, \"Bye\").store()\n   log.info(\"Hello\", 123, \"Bye\")\n   log.warn(\"Hello\", 123, \"Bye\")\n   log.err(\"Hello\", 123, \"Bye\").store()\n   log.pink(\"Hello\", 123, \"Bye\")\n   log(\"Hello\", 123, \"Bye\")  # default color is white\n\nOutput\n------\n\n\n.. image:: https://i.stack.imgur.com/HMVP6.png\n   :target: https://i.stack.imgur.com/HMVP6.png\n   :alt: Output\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple python library in order to print in different colorsand save them into a file optionally.",
    "version": "1.1.0",
    "project_urls": {
        "Download": "https://github.com/agn-7/colored-print/archive/refs/tags/v1.1.0.zip",
        "Homepage": "https://github.com/agn-7/colored-print"
    },
    "split_keywords": [
        "log",
        " logging",
        " python3",
        " python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a02de1673e30ce42ee23df1e892a7ef3918d4a97c17e98f183469e9e42fabb42",
                "md5": "baa0315d4fc3d0ac8293b8f0b1d0e9ed",
                "sha256": "408b2e4c22f8c4b49feef1f6e80c10a97206408965af27b037f9614e2bfde213"
            },
            "downloads": -1,
            "filename": "python_colored_print-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "baa0315d4fc3d0ac8293b8f0b1d0e9ed",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3492,
            "upload_time": "2024-04-12T09:52:07",
            "upload_time_iso_8601": "2024-04-12T09:52:07.207768Z",
            "url": "https://files.pythonhosted.org/packages/a0/2d/e1673e30ce42ee23df1e892a7ef3918d4a97c17e98f183469e9e42fabb42/python_colored_print-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "38f9e3ea946eaa748bb11d5a3db6368e4ea3e9ff78adb87752e63ab53651848b",
                "md5": "164a7ee45a691ef2709e108daf468c0c",
                "sha256": "40f23102787a9b4abace356d8cca97ff4aa745bec22a0d0741283e23108588f6"
            },
            "downloads": -1,
            "filename": "python_colored_print-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "164a7ee45a691ef2709e108daf468c0c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3026,
            "upload_time": "2024-04-12T09:52:13",
            "upload_time_iso_8601": "2024-04-12T09:52:13.297898Z",
            "url": "https://files.pythonhosted.org/packages/38/f9/e3ea946eaa748bb11d5a3db6368e4ea3e9ff78adb87752e63ab53651848b/python_colored_print-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-12 09:52:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "agn-7",
    "github_project": "colored-print",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "python-colored-print"
}
        
Elapsed time: 0.32912s