Skip to main content

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.

Metadata

Release files for ansitoolkit 0.1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ansitoolkit 0.1.15
File Size Uploaded
ansitoolkit-0.1.15.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ansitoolkit 0.1.15
File Interpreter ABI Platform
ansitoolkit-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

Release files / ansitoolkit-0.1.15.tar.gz

Download URL ansitoolkit-0.1.15.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
159f45c653ae9d4b3d2eca70000e5ea32520ac9f5f460aab1d191424eee0d4e3
BLAKE2b-256 checksum
How to use checksums
cd40b66bbca7f11cdae0c428d428079939bc9300f56ec89593ce9fc63effc29f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.8 Linux/6.8.0-1020-azure

Release files / ansitoolkit-0.1.15-py3-none-any.whl

Download URL ansitoolkit-0.1.15-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1e86c35562610f35a83ba50ebd72012f05efc72fd0dea7d76b2543e6592caf5
BLAKE2b-256 checksum
How to use checksums
1a9f93fb3ba2d2fd0c0b7f83620be2da14caae6655a25df4fb0a4dc1998187fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.8 Linux/6.8.0-1020-azure

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page