Misty2py

Latest version: v5.0.0

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

Scan your dependencies

Page 3 of 3

3.0.0

Added

- `skills/template.py` - a template for developing a skill with misty2py
- `skills/greeting.py` - a skill of Misty reacting to the *"Hey Misty"* keyphrase
- `skills/free_memory.py` - a skill that removes non-system audio, video, image and recording files from Misty's memory
- `misty2py.utils` sub-package - various utility functions, some of which were used before in `misty2py.utils` module

Changed

- changed the architecture of the entire package to be easier to understand and use:
- moved `misty2py.utils` module to `misty2py.utils.utils`
- added a sub-package `misty2py.skills`
- updated pytests to match changes in architecture

2.0.1

Added

- `skills` folder for example skills
- `skills/battery_printer.py` as an example skill involving an event emitter
- `skills/listening_expression.py`
- `skills/angry_expression.py`

Changed

- automatically generated event names now contain the event type

Fixed

- `construct_transition_dict` raised TypeError when attempting to compare str to int; fix: explicitly casting str to int

2.0.0

Added

- data shortcuts for system images
- `MistyEventHandler` class
- `event_emitter` in `MistyEvent` and `MistyEventHandler`

Changed

- documentation of data shortcuts in `README.md` to include added data shortcuts
- refinement the event-related architecture to be clearer
- documentation of event-related changes in `README.md`

1.0.0

Added

- Support for custom defined action and information keywords.
- Support for custom defined data shortcuts.
- Unit tests to test the added features.
- Support for all currently available Misty API endpoints for GET, POST and DELETE methods.
- Event types support.

Changed

- `Misty.perform_action()` now takes one optional argument `data` instead of three optional arguments `dict`, `string` and `data_method`.
- Several functions now return keyword `"status"` instead of `"result"`.
- README to reflect support for custom definitions and event types.
- README to include documentation of supported keywords and shortcuts.
- Renamed `tests\test_unit.py` to `tests\test_base.py` to reflect on purposes of the tests.

Note

This release was wrongly tagged as it is not downstream compatible and was published without documentation by mistake.

0.0.1

Added

- This CHANGELOG to track changes.
- README with basic information.
- The package misty2py itself supporting:
- `api/led` endpoint under the keyword `led`,
- `api/blink/settings` endpoint under the keyword `blink_settings`,
- the keyword `led_off` for a json dictionary with values 0 for red, green and blue.

---

Yanked 0.0.2 - 10-03-2021

Added

- Support for custom defined action and information keywords.
- Support for custom defined data shortcuts.
- Unit tests to test the added features.
- Support for all currently available Misty API endpoints for GET, POST and DELETE methods.
- Event types support.

Changed

- `Misty.perform_action()` now takes one optional argument `data` instead of three optional arguments `dict`, `string` and `data_method`.
- Several functions now return keyword `"status"` instead of `"result"`.
- README to reflect support for custom definitions and event types.
- README to include documentation of supported supported keywords and shortcuts.
- Renamed `tests\test_unit.py` to `tests\test_base.py` to reflect on purposes of the tests.

Note

This release was wrongly tagged as it is not downstream compatible and was published without documentation by mistake.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.