Install & Compatibility
Where this runs
tested against v1.1.0 · 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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
isHex
✓ from isHex import isHex
✗ from ishex import isHex
isHexLower
✓ from isHex import isHexLower
isHexUpper
✓ from isHex import isHexUpper
Basic usage: check if string is hexadecimal, with optional case validation.
from ishex import isHex, isHexLower, isHexUpper
# Validate a hex string
print(isHex("1a2b3f")) # True
print(isHex("0x1a2b3f")) # True (with 0x prefix)
print(isHex("xyz")) # False
# Validate case-specific
print(isHexLower("1a2b")) # True
print(isHexUpper("1A2B")) # True
Upgrade
Version history
1.1.0latest on PyPI · released Mar 1, 2023
Audit
Dependencies
No dependency data recorded yet.