@@ -4,13 +4,6 @@ Color palette toolkit for [pydisplay](https://github.com/PyDevices/pydisplay)
44
55## Install
66
7- ### MicroPython (MIP, precompiled)
8-
9- ``` python
10- import mip
11- mip.install(" palettes" , index = " https://PyDevices.github.io/micropython-lib/mip/PyDevices" )
12- ```
13-
147### CPython (TestPyPI)
158
169``` bash
@@ -20,6 +13,13 @@ pip install \
2013 palettes
2114```
2215
16+ ### MicroPython (MIP)
17+
18+ ``` python
19+ import mip
20+ mip.install(" palettes" , index = " https://PyDevices.github.io/micropython-lib/mip/PyDevices" )
21+ ```
22+
2323## Quick start
2424
2525``` python
@@ -37,16 +37,19 @@ cube = get_palette(name="cube", size=5, color_depth=16)
3737material = get_palette(name = " material_design" , color_depth = 16 )
3838```
3939
40- ## Documentation
40+ ## What you get
4141
42- - [ palettes.readthedocs.io] ( https://palettes.readthedocs.io )
43- - [ PyScript demos] ( https://pydevices.github.io/pydisplay/pyscript/ ) (` palettes_demo.py ` installs ` palettes ` via MIP)
42+ - ` get_palette(...) ` factory for wheel, cube, material_design, and named palettes
43+ - Indexing and ` color_name() ` helpers
44+ - Works on MicroPython, CircuitPython, and CPython (no native extension)
4445
45- ## Related
46+ ## Links
4647
47- - [ pydisplay] ( https://github.com/PyDevices/pydisplay ) — display, events, graphics backend
48- - [ pdwidgets] ( https://github.com/PyDevices/pdwidgets ) — widget toolkit (depends on ` palettes ` )
49- - [ micropython-lib] ( https://github.com/PyDevices/micropython-lib ) — MIP package index
48+ - [ Documentation] ( https://palettes.readthedocs.io )
49+ - [ Source] ( https://github.com/PyDevices/palettes )
50+ - [ Issues] ( https://github.com/PyDevices/palettes/issues )
51+ - [ PyScript demos] ( https://pydevices.github.io/pydisplay/pyscript/ ) (` palettes_demo.py ` )
52+ - Related: [ pydisplay] ( https://github.com/PyDevices/pydisplay ) , [ pdwidgets] ( https://github.com/PyDevices/pdwidgets )
5053
5154## License
5255
0 commit comments