uiprotect 0.3.7__py3-none-any.whl → 0.3.8__py3-none-any.whl

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: uiprotect
3
- Version: 0.3.7
3
+ Version: 0.3.8
4
4
  Summary: Python API for Unifi Protect (Unofficial)
5
5
  Home-page: https://github.com/uilibs/uiprotect
6
6
  License: MIT
@@ -78,7 +78,7 @@ Description-Content-Type: text/markdown
78
78
 
79
79
  ---
80
80
 
81
- Python API for Unifi Protect (Unofficial)
81
+ Python API for UniFi Protect (Unofficial)
82
82
 
83
83
  ## Looking for maintainers
84
84
 
@@ -126,7 +126,7 @@ Smart Detections (person, vehicle, animal, face), a feature that previously coul
126
126
 
127
127
  Enabling Remote Access may grant other users access to your console [due to the fact Ubiquiti can reconfigure access controls at any time](https://community.ui.com/questions/Bug-Fix-Cloud-Access-Misconfiguration/fe8d4479-e187-4471-bf95-b2799183ceb7).
128
128
 
129
- If you are not okay with the feature being locked behind Remote Access access, [let Ubiquiti know](https://community.ui.com/questions/Cannot-enable-Smart-Detections/e3d50641-5c00-4607-9723-453cda557e35).
129
+ If you are not okay with the feature being locked behind Remote Access, [let Ubiquiti know](https://community.ui.com/questions/Cannot-enable-Smart-Detections/e3d50641-5c00-4607-9723-453cda557e35).
130
130
 
131
131
  ## Documentation
132
132
 
@@ -140,7 +140,7 @@ If you want to install `uiprotect` natively, the below are the requirements:
140
140
  - Latest version of library is generally only tested against the two latest minor version. This is either two latest stable versions (such as 1.21.x and 2.0.x) or the latest EA version and stable version (such as 2.2.x EA and 2.1.x).
141
141
  - [Python](https://www.python.org/) 3.10+
142
142
  - POSIX compatible system
143
- - Library is only tested on Linux, specifically the latest Debian version available for the official Python Docker images, but there is no reason the library should not work on any Linux distro or MacOS.
143
+ - Library is only tested on Linux, specifically the latest Debian version available for the official Python Docker images, but there is no reason the library should not work on any Linux distro or macOS.
144
144
  - [ffmpeg](https://ffmpeg.org/)
145
145
  - ffmpeg is primarily only for streaming audio to Protect cameras, this can be considered a soft requirement
146
146
 
@@ -158,7 +158,7 @@ Windows is **not supported**. If you need to use `uiprotect` on Windows, use Doc
158
158
  pip install uiprotect
159
159
  ```
160
160
 
161
- ### From Github
161
+ ### From GitHub
162
162
 
163
163
  ```bash
164
164
  pip install git+https://github.com/uilibs/uiprotect.git#egg=uiprotect
@@ -166,7 +166,7 @@ pip install git+https://github.com/uilibs/uiprotect.git#egg=uiprotect
166
166
 
167
167
  ### Using Docker Container
168
168
 
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.
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
172
  function uiprotect() {
@@ -181,11 +181,11 @@ function uiprotect() {
181
181
  }
182
182
  ```
183
183
 
184
- Some notes about the Docker version since it is running inside of a container:
184
+ Some notes about the Docker version since it is running inside a container:
185
185
 
186
186
  - You can update at any time using the command `docker pull ghcr.io/uilibs/uiprotect:latest`
187
187
  - Your local current working directory (`$PWD`) will automatically be mounted to `/data` inside of the container. For commands that output files, this is the _only_ path you can write to and have the file persist.
188
- - The container supports `linux/amd64` and `linux/arm64` natively. This means it will also work well on MacOS or Windows using Docker Desktop.
188
+ - The container supports `linux/amd64` and `linux/arm64` natively. This means it will also work well on macOS or Windows using Docker Desktop.
189
189
  - `TZ` should be the [Olson timezone name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the timezone your UniFi Protect instance is in.
190
190
  - For more details on `TZ` and other environment variables, check the [command line docs](https://uilibs.github.io/uiprotect/latest/cli/)
191
191
 
@@ -193,8 +193,8 @@ Some notes about the Docker version since it is running inside of a container:
193
193
 
194
194
  ### CLI
195
195
 
196
- !!! warning "About Ubiquiti SSO accounts"
197
- Ubiquiti SSO accounts are not supported and actively discouraged from being used. There is no option to use MFA. You are expected to use local access user. `uiprotect` is not designed to allow you to use your owner account to access the console or to be used over the public Internet as both pose a security risk.
196
+ > [!WARNING]
197
+ > Ubiquiti SSO accounts are not supported and actively discouraged from being used. There is no option to use MFA. You are expected to use local access user. `uiprotect` is not designed to allow you to use your owner account to access the console or to be used over the public internet as both pose a security risk.
198
198
 
199
199
  ```bash
200
200
  export UFP_USERNAME=YOUR_USERNAME_HERE
@@ -242,13 +242,15 @@ Generally any feature missing from the library is planned to be done eventually
242
242
 
243
243
  ### UniFi OS Features
244
244
 
245
- Anything that is strictly a UniFi OS feature. If it ever done, it will be in a separate library that interacts with this one. Examples include:
245
+ Anything that is strictly a UniFi OS feature. If it is ever done, it will be in a separate library that interacts with this one. Examples include:
246
246
 
247
247
  - Managing RAID and disks
248
248
  - Creating and managing users
249
249
 
250
- Examples include:
250
+ ### Remote Access / Ubiquiti Cloud Features
251
+
252
+ Some features that require an Ubiquiti Account or "Remote Access" to be enabled are currently not implemented. Examples include:
251
253
 
252
254
  - Stream sharing
253
- - Smart Detections, including person, vehicle, animals license plate and faces
255
+ - Face detection
254
256
 
@@ -30,8 +30,8 @@ uiprotect/test_util/__init__.py,sha256=sSEXu6_pwdYNQSCYtftpX1Dy1S8XYOvhrpECYRxeK
30
30
  uiprotect/test_util/anonymize.py,sha256=AGYELhDC4BrdK0deI6zh5jFp3SuM_HvAWLeoxFHSiwg,8486
31
31
  uiprotect/utils.py,sha256=xP8t0wEBIGS___LUYRNnQuXvUbjKDbsOnnSwWDzphSw,18124
32
32
  uiprotect/websocket.py,sha256=iMTdchymaCgVHsmY1bRbxkcymqt6WQircIHYNxCu178,7289
33
- uiprotect-0.3.7.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
34
- uiprotect-0.3.7.dist-info/METADATA,sha256=HzrXakwpZ4Bsq1dRVIGFBnnc44yzxY97pGtUg329ATw,10923
35
- uiprotect-0.3.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
36
- uiprotect-0.3.7.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
37
- uiprotect-0.3.7.dist-info/RECORD,,
33
+ uiprotect-0.3.8.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
34
+ uiprotect-0.3.8.dist-info/METADATA,sha256=UwhxSR3p6GWaUnkOvIMVC3_Z4UEaLB717rRLyl_9B88,10984
35
+ uiprotect-0.3.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
36
+ uiprotect-0.3.8.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
37
+ uiprotect-0.3.8.dist-info/RECORD,,