Skip to main content

No project description provided

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.2.tar.gz (8.0 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.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ansitoolkit-0.1.2.tar.gz
  • Upload date:
  • Size: 8.0 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.2.tar.gz
Algorithm Hash digest
SHA256 2bfb92169081cc002e0cfc1796b9a9a7fd3e5896f3bc90d66c337fb338f67c81
MD5 d746abd555eb1a9167880394c8b2a0d2
BLAKE2b-256 bea606f21fa63b76a78a7783e52dc5feb3f027ba79c486b6b84a1dfa8e1dbfdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ansitoolkit-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6be25c146eb5b4a4889e6b64af3e0d70d561751f5d3fc27c601fed1168ac24e
MD5 9b1a210e638a3070373ce97c6d1d6c1f
BLAKE2b-256 14d9225cba0c6a7373c01a57e11acbdacc98aa6a6d004de446eaf5a6249f15cc

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