Skip to main content

Modul untuk memberikan warna teks di terminal

Project description

Anton-Color

Anton-Color adalah modul Python sederhana untuk memberikan warna pada teks di terminal menggunakan ANSI escape codes. Modul ini memungkinkan pengguna untuk menampilkan teks dalam berbagai warna dan latar belakang yang berbeda.

Instalasi

Untuk menginstal modul ini, kamu bisa menggunakan pip:

pip install anton-color

Penggunaan

Berikut adalah contoh penggunaan modul ini:

from anton_color import Clr

print(Clr.merah("Halo, ini teks merah!"))
print(Clr.hijau("Teks dengan warna hijau!"))
print(Clr.bg_kuning("Teks dengan latar belakang kuning!"))

Daftar Warna

  • Teks:

    • merah
    • hijau
    • kuning
    • biru
    • ungu
    • cyan
    • putih
    • hitam
    • merah_terang
    • hijau_terang
    • kuning_terang
    • biru_terang
    • ungu_terang
    • cyan_terang
    • putih_terang
    • hitam_terang
  • Latar Belakang:

    • bg_merah
    • bg_hijau
    • bg_kuning
    • bg_biru
    • bg_ungu
    • bg_cyan
    • bg_putih
    • bg_hitam
    • bg_merah_terang
    • bg_hijau_terang
    • bg_kuning_terang
    • bg_biru_terang
    • bg_ungu_terang
    • bg_cyan_terang
    • bg_putih_terang
    • bg_hitam_terang

Lisensi

Modul ini dilisensikan di bawah MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anton_color-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

anton_color-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file anton_color-0.1.0.tar.gz.

File metadata

  • Download URL: anton_color-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for anton_color-0.1.0.tar.gz
Algorithm Hash digest
SHA256 44a483abce8953e0e8119d662178869e29abca376e97e5171dcc0599288d99e8
MD5 b9f38f4e9e4369bc19a5c321fe190228
BLAKE2b-256 7cb39bbe268780e66112affc10611e9c0264002f6c933071fd3745ac2a13b8be

See more details on using hashes here.

File details

Details for the file anton_color-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: anton_color-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for anton_color-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ccd1c191e9834da215fd64f9c1cb1c4aeff607ea6ebd9b69800bf601c94867d
MD5 d41ea40487a778391c121dc30a1d901d
BLAKE2b-256 7f79b813dfa334f9768cbfa72310bd656e3cc44200e693c30071cbd80d54fc8b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page