color50


Namecolor50 JSON
Version 1.0.1 PyPI version JSON
download
home_page
SummaryA lightweight Python package for colorful output at the command line.
upload_time2024-01-03 04:41:20
maintainer
docs_urlNone
author
requires_python>=3.10
license
keywords color50 color console terminal command line cs50 cs50p
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # color50

A lightweight Python package for colorful output at the command line.

Created as a final project submission for Harvard University's CS50P course,
**color50** is a package I designed to add a little extra flavor to standard
output print statements. This is my first ever attempt at making a Python
package from scratch, and I'm excited to share it with fellow Python developers
and CS50 students.

## Included modules

- color
    - **Color** class
- core_functions
    - ``rgb`` function
    - ``hexcode`` function
    - ``css`` function
    - ``colorize`` function (decorator)
- colorstr
    - **ColorStr** class
- constants

## Installation

To install **color50**, execute the following command using the `pip` installer:

```
pip install color50
```

## Sample usage

With **color50** installed, the following code would print `"Hello, World!"` to standard output as purple-colored text.

```py
from color50 import rgb, constants

my_color = rgb(128, 0, 128)
print(my_color + "Hello, World!" + constants.RESET)
```

<br>

For more detailed information on using **color50** in your Python projects, please refer to the documentation at [color50.readthedocs.io](https://color50.readthedocs.io/).

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "color50",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "color50,color,console,terminal,command line,CS50,CS50P",
    "author": "",
    "author_email": "Daniel Fletcher <dfletcher-mail@proton.me>",
    "download_url": "https://files.pythonhosted.org/packages/e6/65/82184959326689c11676ce48c4c31f8d323f173eb48dc5d72cff69b0b543/color50-1.0.1.tar.gz",
    "platform": null,
    "description": "# color50\r\n\r\nA lightweight Python package for colorful output at the command line.\r\n\r\nCreated as a final project submission for Harvard University's CS50P course,\r\n**color50** is a package I designed to add a little extra flavor to standard\r\noutput print statements. This is my first ever attempt at making a Python\r\npackage from scratch, and I'm excited to share it with fellow Python developers\r\nand CS50 students.\r\n\r\n## Included modules\r\n\r\n- color\r\n    - **Color** class\r\n- core_functions\r\n    - ``rgb`` function\r\n    - ``hexcode`` function\r\n    - ``css`` function\r\n    - ``colorize`` function (decorator)\r\n- colorstr\r\n    - **ColorStr** class\r\n- constants\r\n\r\n## Installation\r\n\r\nTo install **color50**, execute the following command using the `pip` installer:\r\n\r\n```\r\npip install color50\r\n```\r\n\r\n## Sample usage\r\n\r\nWith **color50** installed, the following code would print `\"Hello, World!\"` to standard output as purple-colored text.\r\n\r\n```py\r\nfrom color50 import rgb, constants\r\n\r\nmy_color = rgb(128, 0, 128)\r\nprint(my_color + \"Hello, World!\" + constants.RESET)\r\n```\r\n\r\n<br>\r\n\r\nFor more detailed information on using **color50** in your Python projects, please refer to the documentation at [color50.readthedocs.io](https://color50.readthedocs.io/).\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A lightweight Python package for colorful output at the command line.",
    "version": "1.0.1",
    "project_urls": {
        "CS50P Course Website": "https://cs50.harvard.edu/python/2022/",
        "Documentation": "https://color50.readthedocs.io/en/latest/",
        "GitHub": "https://github.com/danielthefletch/color50.git"
    },
    "split_keywords": [
        "color50",
        "color",
        "console",
        "terminal",
        "command line",
        "cs50",
        "cs50p"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a54f0c174869ba314701c4cc9ac2434d248f901c1bf3eb9fa68bee47af36254",
                "md5": "09ed8f62c752942637f49bd8e1c2e8cf",
                "sha256": "5b260bc74bd6ef100d0a8cf5f674877911c066210efff90108e5d40e94865bb8"
            },
            "downloads": -1,
            "filename": "color50-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "09ed8f62c752942637f49bd8e1c2e8cf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 14195,
            "upload_time": "2024-01-03T04:41:19",
            "upload_time_iso_8601": "2024-01-03T04:41:19.388349Z",
            "url": "https://files.pythonhosted.org/packages/5a/54/f0c174869ba314701c4cc9ac2434d248f901c1bf3eb9fa68bee47af36254/color50-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e66582184959326689c11676ce48c4c31f8d323f173eb48dc5d72cff69b0b543",
                "md5": "5e2731996894a41d8e6efee3a1f485ed",
                "sha256": "5b2cdfa6845d79b2648384f2b06dd9dbee2b81defdae13dfcdeee9fb26f61c6c"
            },
            "downloads": -1,
            "filename": "color50-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5e2731996894a41d8e6efee3a1f485ed",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 12017,
            "upload_time": "2024-01-03T04:41:20",
            "upload_time_iso_8601": "2024-01-03T04:41:20.465726Z",
            "url": "https://files.pythonhosted.org/packages/e6/65/82184959326689c11676ce48c4c31f8d323f173eb48dc5d72cff69b0b543/color50-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-03 04:41:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "danielthefletch",
    "github_project": "color50",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "color50"
}
        
Elapsed time: 0.20724s