Skip to main content

Smart print function with colors

Project description

PrintPower 🔥

A simple yet powerful replacement for Python's built-in print() function.


🚀 Features

  • ✅ Works like normal print()
  • 🎨 Colored output (success, error, warning, info, debug)
  • 🐞 Debug mode support
  • 🧠 Smart handling of inputs
  • ⚡ Lightweight and easy to use

📦 Installation

pip install pfun-na

🧪 Usage

from printpower import p

# Normal print
p("Hello World")

# Colored output
p("Success!", type="success")
p("Error!", type="error")
p("Warning!", type="warning")
p("Info message", type="info")

# Debug mode
p("Debug message", type="debug", debug=True)

🎯 Output Types

Type Color
success Green
error Red
warning Yellow
info Blue
debug Gray

💡 Why use PrintPower?

PrintPower makes printing in Python more expressive and developer-friendly while keeping the simplicity of print().


🔮 Future Updates

  • CLI support (pfun "Hello")
  • File logging
  • Table printing
  • Progress bars

👨‍💻 Author

Naveen


⭐ Support

If you like this project, consider starring it ⭐ and sharing it!

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

pfun_na-0.4.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

pfun_na-0.4-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file pfun_na-0.4.tar.gz.

File metadata

  • Download URL: pfun_na-0.4.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for pfun_na-0.4.tar.gz
Algorithm Hash digest
SHA256 40b1b2ac89e3a1eb30afbcc8f13d3d2882dd7104ab22a4fdcf5621a2b1d735be
MD5 499be77e60d648f12ad9dae98e3da0f4
BLAKE2b-256 1e35ffb566ff5c724f07484965f45b6d712615bcc88a1a345ee4c58da36f445e

See more details on using hashes here.

File details

Details for the file pfun_na-0.4-py3-none-any.whl.

File metadata

  • Download URL: pfun_na-0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for pfun_na-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 af7df4d8d6accd9b7a8d4aa6ecde542670d6bf2aac262a2dae1c218d2fe53078
MD5 a20585a9a37a5b6d589deeda7d24783b
BLAKE2b-256 e1d0d4a8ac48a8e3fa72175730c3ffd7c1cfe72d0379d9f793efc521d3db6348

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