Resin-sdk

Latest version: v5.1.3

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

Scan your dependencies

Page 6 of 6

1.4.0

Added

- Implement resin.models.device.get_status()

Changed

- Patch device types to be marked as ALPHA and BETA not PREVIEW and EXPERIMENTAL.
- Fix error when reading settings by backing up old settings file and rewriting default settings.
- Fix bug of device.get_local_ip_address().

1.3.1

Changed

- Fix bug with return value of `resin.auth.is_logged_in()`.

1.3.0

Added

- Implement resin.models.device.move().

1.2.0

Added

* Implement Resin Supervisor which provides an easy way to interact with the Supervisor agent on your device:
- resin.models.supervisor.ping()
- resin.models.supervisor.blink()
- resin.models.supervisor.update()
- resin.models.supervisor.reboot()
- resin.models.supervisor.shutdown()
- resin.models.supervisor.purge()
- resin.models.supervisor.restart()
- resin.models.supervisor.force_api_endpoint()
* Implement basic two-factor authentication functionalities:
- resin.models.twofactor_auth.is_enabled()
- resin.models.twofactor_auth.is_passed()
- resin.models.twofactor_auth.challenge()
- resin.models.twofactor_auth.generate_code()
- resin.models.twofactor_auth.get_otpauth_secret()

1.1.1

Changed

- Update `setup.py` parse VERSION directly from `__init__.py` instead of importing resin.

1.1.0

Added

- Implement Resin API Key. User can authorize by credentials, auth token or set Resin API key as RESIN_API_KEY environment variable.
- Implement `resin.models.device.restart()`
- Implement `resin.models.device.has_device_url()`
- Implement `resin.models.device.get_device_url()`
- Implement `resin.models.device.enable_device_url()`
- Implement `resin.models.device.disable_device_url()`

Changed

- Fix `resin.auth.is_logged_in()` remove auth token.
- Fix bug with API endpoints in some functions.
- Implement `login` flag that marks functions only work if users authorize by credentials or auth token.

Removed

- Remove `VALID_OPTIONS` in resin.models.device_os that blocks extra os parameters when downloading an image.
- Remove `resin.models.config.get_pubnub_keys()`.

Page 6 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.