Material You color generation algorithms in pure python!
Project description
Material You color algorithms for python!
Minimal running example:
Run file tests/test_color_gen.py
as:
python3 test_color_gen.py <image path> <quality>
Maximum quality is 1
that means use all pixels, and quality number more than 1
means how many pixels to skip in between while reading, also you can see it as compression.
Install
You can easily install it from pip by executing:
pip3 install materialyoucolor --upgrade
Prebuilt binaries are avaliable for linux
, windows
and macos
.
Build and install
It is built in reference with offical typescript implementation but it's color quantization part is based on c++ implementation thanks to pybind.
# Install pybind 11
pip3 install pybind11
pip3 install https://github.com/T-Dynamos/materialyoucolor-pyhton/archive/develop.zip
FAQ
- How it is different from
avanisubbiah/material-color-utilities
?
See https://github.com/T-Dynamos/materialyoucolor-pyhton/issues/3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for materialyoucolor-2.0.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69c46769687adfcb8cbd3bccb997dbe196f4bbd0ae391e7c42aeb21759be9fb3 |
|
MD5 | 41ab5d4357d33f0d57358e85256bd353 |
|
BLAKE2b-256 | 1249fcb55ae84abf83b90c30d095cbde8924695f3bf31093dba6e935162737b9 |
Close
Hashes for materialyoucolor-2.0.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0548dbf77edff561b94ee8a0a3657e678ef872a785f39dd3dd6aa60725544e0 |
|
MD5 | eb09736a73e4632185934b5154697b5b |
|
BLAKE2b-256 | 2198eb5a5d00f1f63b09b6860e1af86125c41f387a0c63f52bd06d6f63831cca |
Close
Hashes for materialyoucolor-2.0.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb22f8c49a8a71feee7484bdf3e4e77c658f0693f53dcc4b82fb4325cbae909c |
|
MD5 | 167cce729b4cef5fc00c0efd4184dde3 |
|
BLAKE2b-256 | 5b1eb5be0982074fd4b991d3b5bd52ca1d3fce8d6400337f8fcbe79b22ad3b70 |
Close
Hashes for materialyoucolor-2.0.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fddf7fb2ff7216c7deeda116f564cd8aa61cd3ffdd9573c7fe43cec5481fbe19 |
|
MD5 | 8aa292ae585f902b3b1b448c5f9706d6 |
|
BLAKE2b-256 | 414577cc328daf4d40342240ae669d8d04fc937796cbef78d9f55743a2c91476 |
Close
Hashes for materialyoucolor-2.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d50d2c1d01a9e014ee783a49067866c98b4a6a71f3a4bb1b8f8ec99c319a059 |
|
MD5 | 321704a1af004680bbbec6d27cbaa268 |
|
BLAKE2b-256 | 89f934f529af318075edae4fabc85db3e424865427d7f39830b26e8c64dd7b7d |
Close
Hashes for materialyoucolor-2.0.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a264b8c29ef28541c45a8a67a2e63ae075c92e273a635172e0b5ff30fc5b33c |
|
MD5 | e588350693e60933cf403a1f5bc2f3ba |
|
BLAKE2b-256 | 3ab1934b8c9a976023253266670f07eb1bf7375b4178d76a8853b60132067ea2 |
Close
Hashes for materialyoucolor-2.0.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2662aaa21cce01e8b374a5cadc4649d35602cbf7c638159317d7135465e50f27 |
|
MD5 | 670ae4d28e2984c89c5b50b3ba4b0fd1 |
|
BLAKE2b-256 | 9d3035ceb3e3dda5a9c995a8c6ce1946bce1e95878c4dfb2fbdd1f5440d50539 |
Close
Hashes for materialyoucolor-2.0.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba1c74cc8e44590e30c5ad9d2c2dbe2c6ee28e7ee821c90c4bfce24ba6decb47 |
|
MD5 | cb733139a5dc2c6880e9bc9f76b79717 |
|
BLAKE2b-256 | 29b2dc3d170ca4e3038ffedd695e60e94be902522efaba62e7e4f42663c001dc |
Close
Hashes for materialyoucolor-2.0.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 214165249d53a682c07cda34f591386a74e723fb91c257a1b897a27816b7c0b0 |
|
MD5 | 9011ec8d4276e03580422c646daf3bbe |
|
BLAKE2b-256 | 963805cc72d43cdb3a79b7e3521fc445b6f491f0aa9950ba49ad4475c8c935b8 |
Close
Hashes for materialyoucolor-2.0.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea8539e6bd58eadd6292bf81241814a8f99a017332a70f13275f28b92b1aa721 |
|
MD5 | d5403950378c2d61c18481590be4ec74 |
|
BLAKE2b-256 | f05c57320a812816a96a99b46bf3e8216f70c401893f6a60d14f02f2e4696c25 |
Close
Hashes for materialyoucolor-2.0.0-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65bf454ee6220bed03669c1f3dcff676b4187348eab7b5604a3d469e39373f6 |
|
MD5 | 502db333f9c315d47857411be0264e23 |
|
BLAKE2b-256 | f6912ef64010840d05696729e65ca51dae29bdc02a153eaf39d95dbae3e1c52a |
Close
Hashes for materialyoucolor-2.0.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 994ed29144bd3e98d1b8e7ff5e49d7f2d0b1441adbe03825f2d410046909eee8 |
|
MD5 | a26c8408bfc4ce40abdabd14e4c914fb |
|
BLAKE2b-256 | a909bede07f691bdb1eb9c18d27c2671e3edadc5e87cf9e4344311d4ee04920d |