Skip to content

ansitoolkit makes terminal magic easy — your go-to toolkit for hassle-free ANSI escape codes and colorful, dynamic terminal output!

License

Notifications You must be signed in to change notification settings

HYP3R00T/AnsiToolkit

Repository files navigation

AnsiToolkit

GitHub Actions Workflow Status Pypi versions

The ansitoolkit Python package was created to simplify working with ANSI escape codes, which are often essential for adding color, formatting, and cursor control in terminal applications. However, using ANSI codes directly can be cumbersome and error-prone, as they are not intuitive and can be difficult to remember or look up.

To address this challenge, we designed ansitoolkit with a modular approach, organizing ANSI escape codes into dedicated classes. This structure allows users to access the codes in a more readable and manageable way, such as through methods and attributes like Cursor.move_up() or Color.RED. By encapsulating the complexity of ANSI codes within these classes, ansitoolkit makes it easier for developers to create terminal-based applications without needing to constantly reference ANSI code charts or worry about syntax errors.

With ansitoolkit, our goal is to provide a developer-friendly interface that streamlines the use of ANSI codes, enabling more efficient and visually appealing terminal output.

Installation

pip install ansitoolkit

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

ansitoolkit makes terminal magic easy — your go-to toolkit for hassle-free ANSI escape codes and colorful, dynamic terminal output!

Topics

Resources

License

Stars

Watchers

Forks

Languages