Use orjson when already installed or with speedups extra (#466)

* Use orjson when already installed

* Use orjson when already installed

* fix patch target

* fix patch target

* add speedups extra

* Update README.md

* Update README.md
This commit is contained in:
J. Nick Koston
2023-06-17 18:03:04 -05:00
committed by GitHub
parent 9550cbd2f7
commit 2d42ca301f
7 changed files with 1096 additions and 1005 deletions

View File

@@ -18,6 +18,11 @@ You can install the most recent release using pip:
pip install python-kasa
```
If you are using cpython, it is recommended to install with `[speedups]` to enable orjson (faster json support):
```
pip install python-kasa[speedups]
```
Alternatively, you can clone this repository and use poetry to install the development version:
```
git clone https://github.com/python-kasa/python-kasa.git