Registry / serialization / hexor
library0.0.15pypypi✓ verified 82d ago

A Python library for coloring text and backgrounds in CLI using RGB or hex values. Current version: 0.0.15. Release cadence: irregular, occasional bugfix releases.

pip install hexor
INSTALL
IMPORT
SIG · HEXOR
H
hexor
serializationpythonv0.0.15
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.0.15 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hexor
import hexor
from hexor import Hexor

Create a Hexor instance, then call hex() or rgb() methods to colorize text.

from hexor import Hexor h = Hexor() # Color text red using hex print(h.hex('Hello, World!', '#ff0000')) # Color background blue using rgb print(h.rgb('Hello, World!', [0, 0, 255]))
hexor --version
Debug
Known issues
gotchaThe library may not be compatible with all terminals or environments. Test on your target terminal.
fix
Check documentation or source for compatibility details.
affects: all
gotchaNo explicit support for named colors; you must use hex or RGB values.
fix
Use hex (#RRGGBB) or 3-element list/tuple for RGB.
affects: all
deprecatedVersion 0.0.x indicates pre-release. API may change without notice.
fix
Pin to a specific version in requirements.
affects: < 1.0.0
Upgrade
Version history
0.0.15latest on PyPI · released Jun 6, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
hexor — pip install hexor · libregistry