New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coloraura

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coloraura

A Python module for text styling with color and gradient support

  • 1.0.2
  • PyPI
  • Socket score

Maintainers
1

ColorAura

ColorAura is a Python module for text styling with color and gradient support.

Features

  • Apply colors to text using ANSI escape codes.
  • Create gradients with customizable start and end colors.
  • Add text styles such as bold, italic, and strikethrough.
  • Supports all standard ANSI colors.
  • Hex color support for custom colors.

Installation

You can install ColorAura using pip:

pip install coloraura

Usage

Here's a simple example demonstrating how to use ColorAura to style text:

from coloraura import color, gradient, style

# Apply red color to text
red_text = color.style("Hello, ColorAura!", color='red')
print(red_text)

# Apply a blue-to-green gradient to text
gradient_text = gradient.style("Hello, Gradient!", gradient=('blue', 'green'))
print(gradient_text)

# Apply bold style to text
bold_text = style.style("Hello, Bold!", style='bold')
print(bold_text)

License

ColorAura is released under the GNU General Public License (GPLv3). See the LICENSE file for details.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue on GitHub.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc