معرفی شرکت ها


colour-splash-0.4.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A simple tool enabling easy colouring of terminal outputs
ویژگی مقدار
سیستم عامل -
نام فایل colour-splash-0.4.0
نام colour-splash
نسخه کتابخانه 0.4.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Lachlan Rehder
ایمیل نویسنده lachlan2357@outlook.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/colour-splash/
مجوز GPLv3
# Colour Splash A simple tool enabling easy colouring of terminal outputs # Download ## Using PIP to use a imported Module `pip install colour_splash` ## Manually to embed into a project `git clone https://github.com/lachlan2357/python-colour-splash` into your project directory # Usage Include `import colour_splash` at the top of your file ## Examples ### Red text colour with white background `colour_splash.colour("this is red text with a white background", "red", "white")` or `colour_splash.colour("this is red text with a white background", colour_splash.colours.red, colour_splash.colours.white)` ### Only white background `colour_splash.colour("this is text with a white background", background = "white")` or `colour_splash.colour("this is text with a white background", background = colour_splash.colours.white)` ### Dim text `colour_splash.colour("this is dim text", "dim")` or `colour_splash.colour("this is dim text", colour_splash.styles.dim)` ## Functions ### `colour_splash.colour()` Changes the foreground, background or both-grounds of text #### Parameters: - `text` the text you wish to be coloured - `foreground` (optional): the string/colours value of the name of the colour you wish to use as the foreground (text) colour - `background` (optional): the string/colours value of the name of the colour you wish to use as the background (highlighted) colour ### `colour_splash.style()` Changes the style of text #### Parameters: - `text`: the text you wish to be styled - `style` (optional): the string/styles value of the name of the style you wish to use ### `colour_splash.colour_start()` Starts a specific colour for all proceeding text #### Parameters: - `foreground` (optional): the string/colours value of the name of the colour you wish to use as the foreground (text) colour - `background` (optional): the string/colours value of the name of the colour you wish to use as the background (highlighted) colour ### `colour_splash.style_start()` Starts a specific style for all proceeding text #### Parameters: - `style` (optional): the string/styles value of the name of the style you wish to use ### `colour_splash.colour_end()` Returns the proceeding text to its previous colour/style ### `colour_splash.style_end()` Returns the proceeding text to its previous colour/style ### `colour_splash.help()` Lists colours and styles and how they appear on your system


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl colour-splash-0.4.0:

    pip install colour-splash-0.4.0.whl


نصب پکیج tar.gz colour-splash-0.4.0:

    pip install colour-splash-0.4.0.tar.gz