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.0.1.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.0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pfun_na-0.0.1.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.0.1.tar.gz
Algorithm Hash digest
SHA256 221236e84f992c7768db1e5629eea64bda819db25c77b29935ac9afce5a68f80
MD5 cd50f1b1ea6b026ede969b074b556067
BLAKE2b-256 183b4c7728362aa95e3369df644e09fad0733b7a77de244a92e1cd15a8a0f131

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pfun_na-0.0.1-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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 299f5885fa2b77f0088c7b9948b9622a1eb5606de464dc27b1758f1040221af9
MD5 4d5154d9b27be073eeb2d7523dfcc103
BLAKE2b-256 6aa542a75202233f060442717d5a62334afbd00073ac526acfd317f2b8460468

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