Pywaggle

Latest version: v0.56.0

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 11

0.50.0

Added context manager support to Plugin. Users are now encourage to move to the following safer alternative to `plugin.init`:

python
from waggle.plugin import Plugin

with Plugin() as plugin:
do cool stuff here!

0.49.0

0.48.0

* Camera now support file:// URLs allowing local files to be provided in the same way as other URLs / names. For example:

python
for deployment
with Camera("left") as camera:
do work

for testing
with Camera("file://path/to/test.jpg") as camera:
do work


This also allows device input to be specified more uniformly when using args. For example:

sh
pass camera on node
python3 main.py --input left

pass local file
python3 main.py --input file://path/to/test.jpg

0.47.0

This release allows you to manage Camera in your own context . You can now safely do:


with Camera(device) as camera:
frame1 = camera.snapshot()
frame2 = camera.snapshot()
... do something cool with frames ...


This change also fixes the behavior of snapshot returning the same frame when passing Camera a video file.

To maintain resource safety by default, we still support:


camera = Camera(device)

will safely open / close camera
frame1 = camera.snapshot()

will safely open / close camera
frame2 = camera.snapshot()

... do something cool with frames ...


Breaking change: We have dropped the dropframes flag to snapshot. We recommend using the new context approach and manually taking a few snapshots, if needed.

0.46.4

Bug fix: Non-serializable data types were able to throw exceptions silently in the background thread.

0.46.3

Page 5 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.