# 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": "fastapi-fastauth",
"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/dd/47/d55ed32b395999b3c120d3e3a82af00ddbeb91461ceaa367c531bc71d09b/fastapi-fastauth-0.1.0.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.0",
"project_urls": {
"Homepage": "https://github.com/sikandar1838/console"
},
"split_keywords": [
"console",
"colorful output",
"cli",
"text formatting"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d13f59f746acdcaf2e89b2ac73877d23a4182dad2b0e0409c7fa1d4ff11490e9",
"md5": "dfc9e28d6af8228053d8cc1625bf0e12",
"sha256": "da48f3d96c385b336af255e171da658d754a21e0dff4a260d38c03f4c82479e2"
},
"downloads": -1,
"filename": "fastapi_fastauth-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dfc9e28d6af8228053d8cc1625bf0e12",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3104,
"upload_time": "2024-03-03T10:43:50",
"upload_time_iso_8601": "2024-03-03T10:43:50.630887Z",
"url": "https://files.pythonhosted.org/packages/d1/3f/59f746acdcaf2e89b2ac73877d23a4182dad2b0e0409c7fa1d4ff11490e9/fastapi_fastauth-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dd47d55ed32b395999b3c120d3e3a82af00ddbeb91461ceaa367c531bc71d09b",
"md5": "1b2f7b85d8752584e2a2b0a75dc7c17a",
"sha256": "7f8fa8c6a5da84c1c2c3776164e735ccb9a8fe48393e4793da46381c23e1d6f5"
},
"downloads": -1,
"filename": "fastapi-fastauth-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "1b2f7b85d8752584e2a2b0a75dc7c17a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2756,
"upload_time": "2024-03-03T10:43:52",
"upload_time_iso_8601": "2024-03-03T10:43:52.393294Z",
"url": "https://files.pythonhosted.org/packages/dd/47/d55ed32b395999b3c120d3e3a82af00ddbeb91461ceaa367c531bc71d09b/fastapi-fastauth-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-03 10:43:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sikandar1838",
"github_project": "console",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "certifi",
"specs": [
[
"==",
"2023.11.17"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.3.2"
]
]
},
{
"name": "docutils",
"specs": [
[
"==",
"0.20.1"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.6"
]
]
},
{
"name": "importlib-metadata",
"specs": [
[
"==",
"7.0.1"
]
]
},
{
"name": "jaraco.classes",
"specs": [
[
"==",
"3.3.0"
]
]
},
{
"name": "keyring",
"specs": [
[
"==",
"24.3.0"
]
]
},
{
"name": "markdown-it-py",
"specs": [
[
"==",
"3.0.0"
]
]
},
{
"name": "mdurl",
"specs": [
[
"==",
"0.1.2"
]
]
},
{
"name": "more-itertools",
"specs": [
[
"==",
"10.2.0"
]
]
},
{
"name": "nh3",
"specs": [
[
"==",
"0.2.15"
]
]
},
{
"name": "pkginfo",
"specs": [
[
"==",
"1.9.6"
]
]
},
{
"name": "Pygments",
"specs": [
[
"==",
"2.17.2"
]
]
},
{
"name": "pywin32-ctypes",
"specs": [
[
"==",
"0.2.2"
]
]
},
{
"name": "readme-renderer",
"specs": [
[
"==",
"42.0"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "requests-toolbelt",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "rfc3986",
"specs": [
[
"==",
"2.0.0"
]
]
},
{
"name": "rich",
"specs": [
[
"==",
"13.7.0"
]
]
},
{
"name": "twine",
"specs": [
[
"==",
"4.0.2"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.1.0"
]
]
},
{
"name": "zipp",
"specs": [
[
"==",
"3.17.0"
]
]
}
],
"lcname": "fastapi-fastauth"
}