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.10.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

ansitoolkit-0.1.10-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ansitoolkit-0.1.10.tar.gz
Algorithm Hash digest
SHA256 7a125d83cd17b542f83d7fbfb4bb651407ba764b7dbd2962bb1ca52c99717b66
MD5 88779ecff311c8444d15946005008f67
BLAKE2b-256 3d3ddaec3300cd7196527e104704c10452064d40fd34e9e0fcd17f46d705dd43

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ansitoolkit-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 29768abefa1e6e25e0c2d9d3858751de517b0e212a0956d16eaf662306814927
MD5 712afd4573b19423450a987c0abdcc11
BLAKE2b-256 5ef7da7f863513a6bb1fe7d95f0b035c4db52580ae42ebf8fadd5d328383660b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page