✅ 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
Metadata
Release files for isHex 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| isHex-1.1.0.tar.gz | 15.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| isHex-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.5 kB
Release files / isHex-1.1.0.tar.gz
| Download URL | isHex-1.1.0.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28c28d41b04a715e119dc370049aa7935cdf0b69c8f853650506c6e98ebde26d
|
|
BLAKE2b-256 checksum How to use checksums |
11530872e0a9f593bb14d0c1ff122f946bc50f8bebfb0dd391e651a2b772242a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / isHex-1.1.0-py3-none-any.whl
| Download URL | isHex-1.1.0-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
934ec3ba9b8a717414eea5f85a4f278c60d2783e2983d4e3aa15944460f78415
|
|
BLAKE2b-256 checksum How to use checksums |
917d5bf8f12126ac6662098ad74c64718e3d28d04cdcc94393b13f97468c429f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|