mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Enable shell extra for installing ptpython and rich (#782)
Co-authored-by: Teemu R. <tpr@iki.fi>
This commit is contained in:
10
README.md
10
README.md
@@ -20,11 +20,19 @@ You can install the most recent release using pip:
|
||||
pip install python-kasa
|
||||
```
|
||||
|
||||
For enhanced cli tool support (coloring, embedded shell) install with `[shell]`:
|
||||
```
|
||||
pip install python-kasa[shell]
|
||||
```
|
||||
|
||||
If you are using cpython, it is recommended to install with `[speedups]` to enable orjson (faster json support):
|
||||
```
|
||||
pip install python-kasa[speedups]
|
||||
```
|
||||
|
||||
or for both:
|
||||
```
|
||||
pip install python-kasa[speedups, shell]
|
||||
```
|
||||
With `[speedups]`, the protocol overhead is roughly an order of magnitude lower (benchmarks available in devtools).
|
||||
|
||||
Alternatively, you can clone this repository and use poetry to install the development version:
|
||||
|
Reference in New Issue
Block a user