console-py


Nameconsole-py JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/sikandar1838/console
SummaryA utility for printing colored messages to the console.
upload_time2024-01-25 14:31:48
maintainer
docs_urlNone
authorSikandar Moyal
requires_python
licenseMIT
keywords console colorful output cli text formatting
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Console Package

Console is a Python package that provides a `Console` class with methods to print messages in different colors. It also serves as a simple example of creating and packaging a Python module.

## Installation

You can install the package using `pip`. Make sure you have a Python virtual environment activated.

```bash
pip install console-py
```

## Documentation

```py
from console import Console

# Create an instance of the Console class
console = Console()

# Use different methods to print messages in various colors
console.info("Information message")
console.warn("Warning message")
console.error("Error message")
console.success("Success message")
console.secondary("Secondary message")
```

## Contributing

If you want to contribute to this project, feel free to fork the repository, make changes, and submit a pull request.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sikandar1838/console",
    "name": "console-py",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Console,Colorful Output,CLI,Text Formatting",
    "author": "Sikandar Moyal",
    "author_email": "sikandar1838@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/07/54/4e9158d470d3b4512ad09ed9acfee5e8ea77cfed73547217e9ebeec44e05/console-py-0.1.3.tar.gz",
    "platform": null,
    "description": "# Console Package\r\n\r\nConsole is a Python package that provides a `Console` class with methods to print messages in different colors. It also serves as a simple example of creating and packaging a Python module.\r\n\r\n## Installation\r\n\r\nYou can install the package using `pip`. Make sure you have a Python virtual environment activated.\r\n\r\n```bash\r\npip install console-py\r\n```\r\n\r\n## Documentation\r\n\r\n```py\r\nfrom console import Console\r\n\r\n# Create an instance of the Console class\r\nconsole = Console()\r\n\r\n# Use different methods to print messages in various colors\r\nconsole.info(\"Information message\")\r\nconsole.warn(\"Warning message\")\r\nconsole.error(\"Error message\")\r\nconsole.success(\"Success message\")\r\nconsole.secondary(\"Secondary message\")\r\n```\r\n\r\n## Contributing\r\n\r\nIf you want to contribute to this project, feel free to fork the repository, make changes, and submit a pull request.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A utility for printing colored messages to the console.",
    "version": "0.1.3",
    "project_urls": {
        "Homepage": "https://github.com/sikandar1838/console"
    },
    "split_keywords": [
        "console",
        "colorful output",
        "cli",
        "text formatting"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a2b9befcd08054ba2ae34b9407ed8698fad1262d607e6a776f4e331e464873f8",
                "md5": "54be89fcc72a04a59504be178fb9705f",
                "sha256": "cc4bfdbe73e09fba16599dfee9c9e3ff6fb7a032421c31638f96ac38c301a452"
            },
            "downloads": -1,
            "filename": "console_py-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "54be89fcc72a04a59504be178fb9705f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3025,
            "upload_time": "2024-01-25T14:31:44",
            "upload_time_iso_8601": "2024-01-25T14:31:44.083610Z",
            "url": "https://files.pythonhosted.org/packages/a2/b9/befcd08054ba2ae34b9407ed8698fad1262d607e6a776f4e331e464873f8/console_py-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "07544e9158d470d3b4512ad09ed9acfee5e8ea77cfed73547217e9ebeec44e05",
                "md5": "e06981ef8e7fae3e30e36be8365d9221",
                "sha256": "53bab1299b314837c8eac4590f83ce1e3681acfa6efef9fa747d32db73b58d27"
            },
            "downloads": -1,
            "filename": "console-py-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "e06981ef8e7fae3e30e36be8365d9221",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2717,
            "upload_time": "2024-01-25T14:31:48",
            "upload_time_iso_8601": "2024-01-25T14:31:48.881956Z",
            "url": "https://files.pythonhosted.org/packages/07/54/4e9158d470d3b4512ad09ed9acfee5e8ea77cfed73547217e9ebeec44e05/console-py-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-25 14:31:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sikandar1838",
    "github_project": "console",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "console-py"
}
        
Elapsed time: 4.13970s