uiprotect 0.2.2__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of uiprotect might be problematic. Click here for more details.

Files changed (36) hide show
  1. {uiprotect-0.2.2 → uiprotect-0.3.1}/PKG-INFO +4 -4
  2. {uiprotect-0.2.2 → uiprotect-0.3.1}/README.md +3 -3
  3. {uiprotect-0.2.2 → uiprotect-0.3.1}/pyproject.toml +1 -1
  4. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/base.py +1 -1
  5. {uiprotect-0.2.2 → uiprotect-0.3.1}/LICENSE +0 -0
  6. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/__init__.py +0 -0
  7. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/__main__.py +0 -0
  8. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/api.py +0 -0
  9. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/__init__.py +0 -0
  10. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/backup.py +0 -0
  11. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/cameras.py +0 -0
  12. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/chimes.py +0 -0
  13. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/doorlocks.py +0 -0
  14. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/events.py +0 -0
  15. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/lights.py +0 -0
  16. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/liveviews.py +0 -0
  17. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/nvr.py +0 -0
  18. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/sensors.py +0 -0
  19. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/cli/viewers.py +0 -0
  20. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/data/__init__.py +0 -0
  21. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/data/base.py +0 -0
  22. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/data/bootstrap.py +0 -0
  23. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/data/convert.py +0 -0
  24. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/data/devices.py +0 -0
  25. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/data/nvr.py +0 -0
  26. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/data/types.py +0 -0
  27. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/data/user.py +0 -0
  28. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/data/websocket.py +0 -0
  29. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/exceptions.py +0 -0
  30. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/py.typed +0 -0
  31. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/release_cache.json +0 -0
  32. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/stream.py +0 -0
  33. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/test_util/__init__.py +0 -0
  34. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/test_util/anonymize.py +0 -0
  35. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/utils.py +0 -0
  36. {uiprotect-0.2.2 → uiprotect-0.3.1}/src/uiprotect/websocket.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: uiprotect
3
- Version: 0.2.2
3
+ Version: 0.3.1
4
4
  Summary: Python API for Unifi Protect (Unofficial)
5
5
  Home-page: https://github.com/uilibs/uiprotect
6
6
  License: MIT
@@ -169,7 +169,7 @@ pip install git+https://github.com/uilibs/uiprotect.git#egg=uiprotect
169
169
  A Docker container is also provided so you do not need to install/manage Python as well. You can add the following to your `.bashrc` or similar.
170
170
 
171
171
  ```bash
172
- function unifi-protect() {
172
+ function uiprotect() {
173
173
  docker run --rm -it \
174
174
  -e UFP_USERNAME=YOUR_USERNAME_HERE \
175
175
  -e UFP_PASSWORD=YOUR_PASSWORD_HERE \
@@ -204,8 +204,8 @@ export UFP_PORT=443
204
204
  # change to false if you do not have a valid HTTPS Certificate for your instance
205
205
  export UFP_SSL_VERIFY=True
206
206
 
207
- unifi-protect --help
208
- unifi-protect nvr
207
+ uiprotect --help
208
+ uiprotect nvr
209
209
  ```
210
210
 
211
211
  ### Python
@@ -129,7 +129,7 @@ pip install git+https://github.com/uilibs/uiprotect.git#egg=uiprotect
129
129
  A Docker container is also provided so you do not need to install/manage Python as well. You can add the following to your `.bashrc` or similar.
130
130
 
131
131
  ```bash
132
- function unifi-protect() {
132
+ function uiprotect() {
133
133
  docker run --rm -it \
134
134
  -e UFP_USERNAME=YOUR_USERNAME_HERE \
135
135
  -e UFP_PASSWORD=YOUR_PASSWORD_HERE \
@@ -164,8 +164,8 @@ export UFP_PORT=443
164
164
  # change to false if you do not have a valid HTTPS Certificate for your instance
165
165
  export UFP_SSL_VERIFY=True
166
166
 
167
- unifi-protect --help
168
- unifi-protect nvr
167
+ uiprotect --help
168
+ uiprotect nvr
169
169
  ```
170
170
 
171
171
  ### Python
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "uiprotect"
3
- version = "0.2.2"
3
+ version = "0.3.1"
4
4
  description = "Python API for Unifi Protect (Unofficial)"
5
5
  authors = ["UI Protect Maintainers <ui@koston.org>"]
6
6
  license = "MIT"
@@ -208,7 +208,7 @@ def adopt(ctx: typer.Context, name: Optional[str] = typer.Argument(None)) -> Non
208
208
  Adopts a device.
209
209
 
210
210
  By default, unadopted devices do not show up in the bootstrap. Use
211
- `unifi-protect -u` to show unadopted devices.
211
+ `uiprotect -u` to show unadopted devices.
212
212
  """
213
213
  require_device_id(ctx)
214
214
  obj: ProtectAdoptableDeviceModel = ctx.obj.device
File without changes