Skip to content

Commit df99257

Browse files
palettes: Release v0.0.6 (5e5821f).
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b013a55 commit df99257

2 files changed

Lines changed: 19 additions & 16 deletions

File tree

micropython/palettes/README.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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)
3737
material = 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

micropython/palettes/manifest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
metadata(
2-
description="PyDisplay color palettes",
3-
version="0.0.5",
2+
description="Color palette toolkit for pydisplay (wheel, cube, material_design)",
3+
version="0.0.6",
44
author="Brad Barnett <contact@pydevices.com>",
55
license="MIT",
66
pypi_publish="palettes",

0 commit comments

Comments
 (0)