colorizon-0.0.3
توضیحات
A small library to make it easy to use colors in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | colorizon-0.0.3 |
| نام | colorizon |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Felipe Savazi |
| ایمیل نویسنده | dev@felipesavazi.com |
| آدرس صفحه اصلی | https://github.com/FelipeSavazii/Colorizon |
| آدرس اینترنتی | https://pypi.org/project/colorizon/ |
| مجوز | MIT |
Colorizon
==========
.. image:: https://discord.com/api/guilds/833158978962849833/embed.png
:target: https://discord.gg/hnmA4ScM3d
:alt: Discord server invite
.. image:: https://img.shields.io/pypi/v/colorizon.svg
:target: https://pypi.python.org/pypi/colorizon
:alt: PyPI version info
.. image:: https://img.shields.io/pypi/pyversions/colorizon.svg
:target: https://pypi.python.org/pypi/colorizon
:alt: PyPI supported Python versions
An easy to use library for putting colors into the terminal written in Python.
Installing
----------
**Python 3.8 or higher is required**
.. code:: sh
# Linux/macOS
python3 -m pip install -U colorizon
# Windows
py -3 -m pip install -U colorizon
Or install from GitHub:
.. code:: sh
$ git clone https://github.com/FelipeSavazii/Colorizon
$ cd Colorizon
$ python3 -m pip install -U
Quick Example
--------------
.. code:: py
from colorizon.backgrounds import Backgrounds
from colorizon.colors import Colors
from colorizon.formattings import Formattings
print(Backgrounds().black('Hello, World!'))
print(Colors().pink('I love you, Ariana Grande.'))
print(Formattings().bold('Excuse me, i love you!'))
Documentation
--------------
**Attributes for Backgrounds():**
.. code:: py
Backgrounds()
.. code:: py
.black(text)
.red(text)
.green(text)
.orange(text)
.blue(text)
.purple(text)
.cyan(text)
.lightcyan(text)
--------------
**Attributes for Colors():**
.. code:: py
Colors()
.. code:: py
.black(text)
.red(text)
.green(text)
.orange(text)
.blue(text)
.purple(text)
.cyan(text)
.lightgray(text)
.darkgray(text)
.lightred(text)
.lightgreen(text)
.yellow(text)
.lightblue(text)
.pink(text)
.lightcyan(text)
--------------
**Attributes for Formattings():**
.. code:: py
Formattings()
.. code:: py
.normal()
.bold(text)
.disable(text)
.underline(text)
.reverse(text)
.strikethrough(text)
.invisible(text)
Links
------
- Documentation: Coming soon
- `Official Discord Server <https://discord.gg/hnmA4ScM3d>`_
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.0 | Python |
نحوه نصب
نصب پکیج whl colorizon-0.0.3:
pip install colorizon-0.0.3.whl
نصب پکیج tar.gz colorizon-0.0.3:
pip install colorizon-0.0.3.tar.gz