Yuxin's helper package with utilities for diverse tasks.
Project description
yuxin_helpers
A helper package with utilities for color conversion.
Installation
pip install yuxin_helpers
Usage
Convert RGB to Hex
from yuxin_helpers import rgb_to_hex
print(rgb_to_hex(255, 0, 0)) # Output: '#ff0000'
Convert Hex to RGB
from yuxin_helpers import hex_to_rgb
print(hex_to_rgb('#ff0000')) # Output: (255, 0, 0)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yuxin_helpers-0.1.0.tar.gz
(1.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yuxin_helpers-0.1.0.tar.gz.
File metadata
- Download URL: yuxin_helpers-0.1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4b79223e1d0c722f7d918961ea9f41a01d46ffc066d84a4c26364d4a1363d22
|
|
| MD5 |
ece481b7c1c1c3c48bd1472e252bd96d
|
|
| BLAKE2b-256 |
8addf90a1211be144bc8d35cdffb2c6ba352a6c2a6fcd5405d7d0751e33d408b
|
File details
Details for the file yuxin_helpers-0.1.0-py3-none-any.whl.
File metadata
- Download URL: yuxin_helpers-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
620529ead1629c57ffdaa0c281c8eb9feb37226aeb4cd7c262a40dacf78275f6
|
|
| MD5 |
c41d0e4deaac01180891a06a16c07e04
|
|
| BLAKE2b-256 |
325258dee76dc265f13fc21d9bf635b8009eba7da9e9e68590b6aa54cf795661
|