Skip to main content

A colorful ASCII art Python package with vibrant colors

Project description

ASCII Art Package 🎨

A colorful ASCII art Python package with vibrant ANSI colors!
Built with creativity and colors! ✨

Features

  • 🎨 Colorful ASCII art displays
  • 🌈 Rainbow text generator
  • ❤️ ASCII heart design
  • ⭐ ASCII star design
  • 🚀 ASCII rocket design
  • ☕ ASCII coffee cup design
  • 🎯 ANSI color support for terminal output

Installation

From Test PyPI

pip install --index-url https://test.pypi.org/simple/ asciiartpackage

From PyPI (after publishing)

pip install asciiartpackage

Usage

from asciiartpackage import hello, show_rainbow_text, ascii_heart, ascii_star, ascii_rocket, ascii_coffee

# Display colorful hello message
print(hello())

# Show rainbow text
print(show_rainbow_text("Hello World!"))

# Display ASCII heart
print(ascii_heart())

# Display ASCII star
print(ascii_star())

# Display ASCII rocket
print(ascii_rocket())

# Display ASCII coffee
print(ascii_coffee())

Examples

Rainbow Text

from asciiartpackage import show_rainbow_text
print(show_rainbow_text("Welcome to Python!"))

Custom Colors

from asciiartpackage import Colors
print(f"{Colors.CYAN}Cyan text{Colors.RESET}")
print(f"{Colors.BOLD}{Colors.RED}Bold Red text{Colors.RESET}")

Available Functions

  • hello() - Display a colorful welcome banner
  • show_rainbow_text(text) - Convert text to rainbow colors
  • ascii_heart() - Display a red ASCII heart
  • ascii_star() - Display a yellow ASCII star
  • ascii_rocket() - Display a colorful ASCII rocket
  • ascii_coffee() - Display an ASCII coffee cup

Available Colors

The Colors class provides:

  • RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE
  • BOLD for bold text
  • RESET to reset formatting

Requirements

  • Python >= 3.8

Author

Paramjit Singh (parambrar862@gmail.com)

License

MIT License

Version

0.0.1 - Initial release with colorful ASCII art features

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

asciiartpackage-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asciiartpackage-0.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file asciiartpackage-0.0.1.tar.gz.

File metadata

  • Download URL: asciiartpackage-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for asciiartpackage-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c9b7075f1ed1aca6d508a075586f7ccd03bc6a8e882b2c3d055145021ac9a3b9
MD5 899a53ca67ae56bced9b74569c82753c
BLAKE2b-256 fcac38c3bf755ef5727362de71da1d7e541e46cd2719fdd983692be4dbffde87

See more details on using hashes here.

File details

Details for the file asciiartpackage-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for asciiartpackage-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff1040feebae7b8d0952ae4ab5157acafff7c9202be3aad7365df95b9a80898c
MD5 b7085395b2267b233f36bd5e33cb2b9d
BLAKE2b-256 68fcc2180d09b68806e379bf029ddf609fda54ff2adb596eb3f841f4689a5263

See more details on using hashes here.

Supported by

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