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.11.tar.gz (8.1 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.11-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ansitoolkit-0.1.11.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.12.8 Linux/6.5.0-1025-azure

File hashes

Hashes for ansitoolkit-0.1.11.tar.gz
Algorithm Hash digest
SHA256 e585b3b16c5b2c86ee6a50866dd3d5702a39aee422b688f749142651852512e6
MD5 4b0d9b011372182dba998d5048a94b72
BLAKE2b-256 936d534f851bdb8a9e71b7e8cd592952814bf22d592baf901bfc6234a64b9839

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ansitoolkit-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 e15d1581c55cd1fa65c08691d0c95c3034e249548e2c43b85f3fce4a4474e4fd
MD5 5183270f89fec9611f3c6e38c84e6281
BLAKE2b-256 6aa118eb17171ca3d465417d7c29a4a77b9fb4943d36d12dfe1909c674695f39

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