Fighting for more harmony through less coding resulting in increased development speed. At least that would be nice!
Project description
Harmonized
When developing prototypes with Python conversion and casting can be time consuming and challeging. With harmonized we try to ease this process by providing ready to use helper scripts and tools.
hexcolor
Working with colors in RGB space. Converting between hex strings like #FF4470, RGB normed floats [0.0 - 1.0] and HSV normed floats. Quickstart ...
Create color:
from harmonized import hexcolor
color = hexcolor.HexColor("#FF4470")
Get color values:
# get RGB values
print(color.r, color.g, color.b)
# get HSV values
print(color.h, color.s, color.v)
# get HexColor string
print(color)
Set via rgb or hsv floats:
# set red via rgb
color.set_from_hsv(0, 1, 1)
# set red via rgb
color.set_from_rgb(1, 0, 0)
inout
Simplified handling of loading and writing files. Making reading from file or HTTP exchangable with local file reading. Local caching possible.
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
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 harmonized-0.1.5.tar.gz.
File metadata
- Download URL: harmonized-0.1.5.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
406911ab1ac48af3e003280fad2b7c5a78c825dca7d4299883d839cb0c949859
|
|
| MD5 |
d94d791339dc3985ef90835039c4277d
|
|
| BLAKE2b-256 |
b203f5a06421ca7c4546bd4418d4e180e97a774380eb2036de9a4f8ed5826bf3
|
File details
Details for the file harmonized-0.1.5-py3-none-any.whl.
File metadata
- Download URL: harmonized-0.1.5-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1de16632b2d40ad4342bf497c3854c552fa37a7f3be2a2a2811d19c00be4af6
|
|
| MD5 |
9fd94ec39cee2cb7f47a86634b777170
|
|
| BLAKE2b-256 |
6eb2674a42fb69428f864cb0cb64dc0e19bf64b3f0e1a3d080f95a0679f6a88a
|