Simple Python package to check if string is valid hexadecimal.
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install ishexREADME as published on PyPI with version 1.1.0.
✅ isHex
Simple Python package to check if string is valid hexadecimal.
🚀 Usage
from isHex import isHex, isHexUpper, isHexLower
# Check invalid hexadecimal
isHex('abcg7') # Returns False
# Check valid hexadecimal
isHex('aBcDeF1234567890') # Returns True
# Check valid hexidecimal, ensuring that it is in uppercase
isHexUpper('ABCDEF') # Returns True
isHexUpper('abcdef') # Returns False
# Check valid hexidecimal, ensuring that it is in lowercase
isHexLower('abcdef') # Returns True
isHexLower('ABCDEF') # Returns False
📦 Installation
Run the following to install:
$ pip install isHex
👨💻 Developing isHex
To install isHex, along with the tools you will need to develop and run tests, run the following in your virtualenv:
$ pip install -e .[dev]
🚦 Development Progress
Stable Development