Skip to main content

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

Project description

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.

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

ansitoolkit-0.1.13.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

ansitoolkit-0.1.13-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file ansitoolkit-0.1.13.tar.gz.

File metadata

  • Download URL: ansitoolkit-0.1.13.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/6.8.0-1020-azure

File hashes

Hashes for ansitoolkit-0.1.13.tar.gz
Algorithm Hash digest
SHA256 310e93878e5d9906b5ee23ea164128716562244c5b71a49e2c974985a8cbf5df
MD5 19dafd5a4d818edf32d753f7d2abcdcf
BLAKE2b-256 845a0ee85dfd626a40e999c5d569113870cb75343aa5740cb8f28d9f23fae93f

See more details on using hashes here.

File details

Details for the file ansitoolkit-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: ansitoolkit-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/6.8.0-1020-azure

File hashes

Hashes for ansitoolkit-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 0ab8ff1096a99b47dae988fd88cc6377ee7c18b9355ff72558b1e4e2e4963c80
MD5 8dfd47e9e1d769fa13a87592d35c53ac
BLAKE2b-256 69841eaddb34c66e55597be772dc1647ca58668947c32b2d940c16f1ffc7c726

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