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 Distribution
materialyoucolor-2.0.2.tar.gz
(38.2 kB
view hashes)
Built Distributions
Close
Hashes for materialyoucolor-2.0.2-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60ff0a0e4644f82c6b167dc3f2ccc679ca847dfd807f555238e33fe0994de418 |
|
MD5 | 1cdb0b6e256f644f4da2463af1c30008 |
|
BLAKE2b-256 | 4b2f4957e2f896c9a9128c0e0e2cfdadfe110cc75aa99b0f418cfa2a1b9ae552 |
Close
Hashes for materialyoucolor-2.0.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925775ebf69f1a9e0352cca2fd79dd6d0f2393cbc62f24b38ab70f163fd3cad6 |
|
MD5 | 9a0e135fd980e139481ff918d3f3f9d5 |
|
BLAKE2b-256 | d2df7c531a66c24684208c1bbc9d84aceb89f87ecabb2562aa45b90407a51a88 |
Close
Hashes for materialyoucolor-2.0.2-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b246a07bee082b019bac720147f393e260cd86f16f77fd93c633bd58f65a920 |
|
MD5 | dcc5ac4e5f479d2c8481d6bd639a4c6f |
|
BLAKE2b-256 | 2f57d558794111465221dabe0da451a16b7710fc969ae78dd2b11ff843d4776b |
Close
Hashes for materialyoucolor-2.0.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 406682bf271caa778196d3686b963df3eadee3d8349c43c06394d21fe70500b3 |
|
MD5 | af7af50eb6cf15c1cec5d8fe546be7ca |
|
BLAKE2b-256 | 24f0a4a2714cf66ec6db31a5472a1ca44c339661833d2d078d457e5a328ce1cc |
Close
Hashes for materialyoucolor-2.0.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 888f84a83eb79b511c25cb729c8c4787167d48368cdc72549b9b680f6e30b5d6 |
|
MD5 | 14016a1ad0e48b9219ceabb4e4c11b6e |
|
BLAKE2b-256 | f5b38933b11503eec77ee9688fc6242a1cda7f9157ec4bc585fe85cfdd083bb2 |
Close
Hashes for materialyoucolor-2.0.2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54beddcebb7233ed785b739aee74c98004fac059cafd65a68346fefd4ed08e5a |
|
MD5 | 8010af92cd78067b2741a5b4092f54d8 |
|
BLAKE2b-256 | 814f8ea364bd8fc750197e6fa1a130d7dbe7537cf2410a49834a5a33bbb4748b |
Close
Hashes for materialyoucolor-2.0.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dd3342e64d4f19756346a34f728c2cc1a93637c44a9adb16cf3af65133dccee |
|
MD5 | 0f3c0bf0ffd321e99d4c9bc199e17c73 |
|
BLAKE2b-256 | 2c70979a35e21726e838d58a01414b0fc8041d2f92cf24514b014f2c19d131b0 |
Close
Hashes for materialyoucolor-2.0.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05a2bb6dd59a9331c3d1c706b1b76ff20e5a1848303af71ab7b51d418cc8e1f6 |
|
MD5 | 68d0682edd32e4dec477a1b7818efcfb |
|
BLAKE2b-256 | b54608f8fd9df2950498af87a3ded9a8850e51e8cd2cc570d0b08a8e308636b0 |
Close
Hashes for materialyoucolor-2.0.2-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4359e7510a2eae078fde84da3237d64d0f34342d66dc0f9c9e77857928b8c110 |
|
MD5 | a8a06b2f34e6a4301983f97ddfbbb274 |
|
BLAKE2b-256 | b8fe149ce8221a78eb0ea062c6c53f7419c0da2b576d14ccd9efceec17ba15ea |
Close
Hashes for materialyoucolor-2.0.2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22a962d0617b7ca8d32a412170877fc934d3d1245e30cc47010bb8b665e3f94e |
|
MD5 | 37315c219f73eefc2a42cc4026565351 |
|
BLAKE2b-256 | 3d004ab14f4af8ebbf8aed39e2677f4686781ffda2016c9298e7d89b54d94bc2 |
Close
Hashes for materialyoucolor-2.0.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee2ccaa1047773a50493dc2135f9cc7f3990692d5ea1c40058ece3840b57c3a4 |
|
MD5 | 4b98e99effd5d8baff168bf9c27238de |
|
BLAKE2b-256 | b731a05a9264431c23d39a0f4f6957c9e931664fc93ab9593bb2184d31c62837 |
Close
Hashes for materialyoucolor-2.0.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c85214f5ef8b4df5be18fb4db344fe9a560d3b7903436c93c08d3fe0b1898ab2 |
|
MD5 | 3728c9e7d5981c400de32f6280de40f6 |
|
BLAKE2b-256 | 8fe0ed647d91af2b14c5db92b3f148d2f23579c7183d8000412a91309464a853 |
Close
Hashes for materialyoucolor-2.0.2-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7a56d86809c472b18df115515b94e9b8a1817c793f5a405111b8057b6895c4b |
|
MD5 | 45d3053156de436188dde93403aa0a0f |
|
BLAKE2b-256 | 81bf5db4ca5aa6958c078ee4d09c64b62568a577baf903f9b1d4887f1b549b36 |
Close
Hashes for materialyoucolor-2.0.2-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea62f2bb77e4a49a41d495222c18d47a94e1f85764cc4a8e177aa0b6b882df01 |
|
MD5 | 5aa0d617b4ffb5ee230a22de18095a40 |
|
BLAKE2b-256 | d655c9db54f4be3d415db104d1e9a866bc322f782857ce065d759e78c3ce107b |