Skip to main content

colorama-rs

High-performance Rust implementation of colorama - cross-platform colored terminal text.

Overview

colorama-rs is a Rust-powered Python library for producing colored terminal text and cursor positioning, offering cross-platform support with enhanced performance.

Installation

pip install colorama-rs

Features

  • 🚀 High Performance: Built with Rust for maximum speed
  • 🎨 Colored Output: Easy-to-use API for colored text
  • 🖥️ Cross-Platform: Works on Windows, Linux, and macOS
  • 🔄 Compatible: Drop-in replacement for colorama
  • 🐍 Python 3.8+: Supports Python 3.8 through 3.14
  • 🌍 Pre-built Wheels: Available for all major platforms

Quick Start

from colorama_rs import Fore, Back, Style

# Print colored text
print(Fore.RED + 'Red text')
print(Fore.GREEN + 'Green text')
print(Back.BLUE + 'Blue background')
print(Style.BRIGHT + 'Bright text' + Style.RESET_ALL)

# Combine colors
print(Fore.YELLOW + Back.BLUE + 'Yellow on blue' + Style.RESET_ALL)

Available Colors

Foreground Colors

  • BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE
  • LIGHTBLACK_EX, LIGHTRED_EX, LIGHTGREEN_EX, etc.

Background Colors

  • Same as foreground colors but with Back. prefix

Styles

  • BRIGHT, DIM, NORMAL, RESET_ALL

Cross-Platform Support

colorama-rs automatically handles Windows console API calls and ANSI codes on other platforms, providing a consistent experience across all operating systems.

Performance

Built with Rust, colorama-rs offers improved performance over the pure Python implementation, especially for applications with heavy terminal output.

License

BSD License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Metadata

Release files for colorama-rs 0.1.1

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

Built distributions (wheels)

Table of built distributions (wheels) for colorama-rs 0.1.1
File Actions
colorama_rs-0.1.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for colorama_rs-0.1.1-cp314-cp314-win_amd64.whl
colorama_rs-0.1.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for colorama_rs-0.1.1-cp313-cp313-win_amd64.whl
colorama_rs-0.1.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for colorama_rs-0.1.1-cp312-cp312-win_amd64.whl
colorama_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details for colorama_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
colorama_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for colorama_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
colorama_rs-0.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for colorama_rs-0.1.1-cp311-cp311-win_amd64.whl
colorama_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details for colorama_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
colorama_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for colorama_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
colorama_rs-0.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for colorama_rs-0.1.1-cp310-cp310-win_amd64.whl
colorama_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details for colorama_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
colorama_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for colorama_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
colorama_rs-0.1.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for colorama_rs-0.1.1-cp39-cp39-win_amd64.whl
colorama_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.34+ x86-64 Details for colorama_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
colorama_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details for colorama_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
colorama_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.34+ x86-64 Details for colorama_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
colorama_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details for colorama_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl

Total release size: 3.2 MB

Release files / colorama_rs-0.1.1-cp314-cp314-win_amd64.whl

Download URL colorama_rs-0.1.1-cp314-cp314-win_amd64.whl
Size 124.8 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
78f4abe582768a5c4b08b2c0a467358a080034943dd7ae5e0565f7d3ca270c09
BLAKE2b-256 checksum
How to use checksums
9e87aad3d49b98b750dd48f1b5caf8b12170989c38cdf711568b38473b540ef0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp313-cp313-win_amd64.whl

Download URL colorama_rs-0.1.1-cp313-cp313-win_amd64.whl
Size 124.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
c24e4c4f2d1bd90c34c0ac6a19a41256d601e3ecda9478a66eefe56cbea8ba68
BLAKE2b-256 checksum
How to use checksums
87981930b7482d3464aac8ec8df6a5471a06bd80e6892c6a0471f484a47c678b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp312-cp312-win_amd64.whl

Download URL colorama_rs-0.1.1-cp312-cp312-win_amd64.whl
Size 125.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
3fb1d0e074a20a48eaa1fc963dc2531fa4846321f9429393bc74a6703dd4cf41
BLAKE2b-256 checksum
How to use checksums
08e31794bcf7c657dafd2a00881d0e28062117e7dd5e969da59cad6449e3561e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL colorama_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
Size 268.5 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
3576dec0881e38a8a2a4cc10012f20b69700056e8c731f0cf26098ea59b25c2a
BLAKE2b-256 checksum
How to use checksums
2cacc42280853d2c835cfc7bf34b621a2763b9ff9ea341d0ab1c3648e60ebd70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL colorama_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Size 227.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
270ea45e0ceab68b658db2441fe2c3bafb93a2b2aa479fd22d37f4ffeb4c0b16
BLAKE2b-256 checksum
How to use checksums
067ca4c4a8ad00fe85037ce392a661b99d8b160dbd8f1acb8a520b96575c635f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp311-cp311-win_amd64.whl

Download URL colorama_rs-0.1.1-cp311-cp311-win_amd64.whl
Size 125.9 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ac738433dee7aaee74bf4ef632a98fecdbeb7da0cc627b89a7c1eb0989ad6a6c
BLAKE2b-256 checksum
How to use checksums
941ae108f4146e8543aab83941bc62eaff71d18998eb91c84109b985b6cd5c89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL colorama_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
Size 268.3 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
556380f32ac58a969707a1960c66572f32ac41b0032333927a5dd4f2650e04ec
BLAKE2b-256 checksum
How to use checksums
afb802468589671623c4aad4df922364dd3bec462d8f42ec47f829c99310da44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL colorama_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Size 228.2 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
514da530b8bc707e0cae94300b4c88ca3d7ea29832d4ecbe2efcd7201ba7aadc
BLAKE2b-256 checksum
How to use checksums
6bcb6846ebef10c3f6e246f90afb8a3e5de6361a127478a5427d00114d6bc260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp310-cp310-win_amd64.whl

Download URL colorama_rs-0.1.1-cp310-cp310-win_amd64.whl
Size 128.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
24c316c31923d5fc13953683ddee80982b538a48253a57b969246a0360145daf
BLAKE2b-256 checksum
How to use checksums
6f9cc8c5b72960793009fecda7363e7c11427f826c22fa51a119558a53b4783f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL colorama_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
Size 268.4 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
8b7cb95904092ab7eee81036333d2237005305668308906cee9447fb2e885c79
BLAKE2b-256 checksum
How to use checksums
3c9c510b164769c2f8496297bf6c8049ad0ab6354439b1b9e32be587349b26d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL colorama_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Size 228.3 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
76936692cadd7fad7c3156e4f0c6eff60bc66e0f9af8583a7671901e2a584f77
BLAKE2b-256 checksum
How to use checksums
e45510b7d491d71afae7f8858c7b392c5ee12eb0fcda1a7d6b32d3b34db1e503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp39-cp39-win_amd64.whl

Download URL colorama_rs-0.1.1-cp39-cp39-win_amd64.whl
Size 130.6 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
fedd1e2adc6bcdf3dfb9dd9dbaf0c5cd7496cbb3203484cb650df41a6170a98f
BLAKE2b-256 checksum
How to use checksums
fc3cda70a9ba2066b92baefacb4e6cd947fc1a5699d8a60471d91a0ff154bb6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl

Download URL colorama_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
Size 269.2 kB
Tags CPython 3.9 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
7abbda7874feaf968abe00a1db1040c70a86ccfc09b172b4809dc53263627b4b
BLAKE2b-256 checksum
How to use checksums
74de4767d2b507b53c9d7e47d6d05504cc90f52cec82c5ce9a5664d695c588a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl

Download URL colorama_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
Size 229.0 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4795f19b704970f8547e17dd92076c9217eb0d45ac40e0607522f1dcec9a2900
BLAKE2b-256 checksum
How to use checksums
48c335cc574b9fb609f9dce4e044027782ede97acfcf6bef141d7cfa1af344b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl

Download URL colorama_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
Size 269.3 kB
Tags CPython 3.8 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
eef5e08fef35a2a4cacc26131c32ec94f44b7957e647f8f71cce48cf5f65e1b9
BLAKE2b-256 checksum
How to use checksums
541dd1781643077d9e543e3755368fa6143cddbec78fbee3ce9519ef12b63493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / colorama_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl

Download URL colorama_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl
Size 228.8 kB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cd5e2726de0d5800f6426e280767682b57a1ed05e6c00a0478ef510c84709372
BLAKE2b-256 checksum
How to use checksums
0d7fc71c674cb61bd3c221874daf10d1f300982d24c543be1197c2dd9f902f30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for colorama-rs 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

16 release files No provenance

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