Pynecil

Latest version: v0.3.0

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

Scan your dependencies

0.3.0

What's Changed
* Use SPDX license expression by tr4nt0r in https://github.com/tr4nt0r/pynecil/pull/4
* add `is_connected` property to check client connection status by tr4nt0r in https://github.com/tr4nt0r/pynecil/pull/5


**Full Changelog**: https://github.com/tr4nt0r/pynecil/compare/v0.2.1...v0.3.0

0.2.1

Fixes 🛠️
* Set device_info to unsynced on disconnect by tr4nt0r in https://github.com/tr4nt0r/pynecil/pull/3

What's Changed


**Full Changelog**: https://github.com/tr4nt0r/pynecil/compare/v0.2.0...v0.2.1

0.2.0

What's New
- **Version Update**: Incremented library version to 0.1.2.
- **Client Enhancements**:
- Improved attribute documentation for `Pynecil` class.
- Enhanced connection handling in `connect` method.
- Expanded `get_device_info`, `get_live_data`, and `get_settings` methods with detailed return descriptions.
- Added detailed logging for characteristic read/write operations.
- **Type Checking**: Moved `Callable` import under `TYPE_CHECKING`.
- **UUID Consistency**: Standardized UUID formats and naming in `const.py`.
- **Helper Functions**:
- Improved `decode_int`, `decode_str`, and `decode_live_data` functions.
- Enhanced `clip` and `encode_int` utility functions.
- Refined `encode_lang_code` and `decode_lang_code` functions.

Fixes 🛠️
- **Connection Stability**: Addressed issues with stale connections.
- **Characteristic Mapping**: Fixed mapping inconsistencies in `CHAR_MAP`.
- **Error Handling**: Improved error logging and handling for characteristic operations.

Documentation 📚
- **Docstrings**: Updated and expanded docstrings for better clarity and consistency.


**Full Changelog**: https://github.com/tr4nt0r/pynecil/compare/v0.1.1...v0.2.0

0.1.1

✨ Enhancements
- **Settings Retrieval Refactor**: Improved type safety and code clarity by changing the return type of `get_settings` to `SettingsDataResponse`, renaming `CHARACTERISTICS` to `CHAR_MAP`, and updating `SettingsDataResponse` to use `TypedDict`.
- **Boost Temperature Validation**: Updated validation logic for `boost_temp` to correctly handle a value of 0, indicating the feature is off.

🐛 Bug Fixes
- **Uptime and Movement Conversion**: Corrected the representation of uptime and movement values from 100ms ticks to seconds, ensuring accurate data in `LiveDataResponse`.

📋 Miscellaneous
- **Version Bump**: Incremented version number from 0.1.0 to 0.1.1.
- **Documentation and Configuration**: Updated project metadata, including author details and issue templates.

[View the full comparison on GitHub](https://github.com/tr4nt0r/pynecil/compare/v0.1.0...v0.1.1)

0.1.0

First release

**Full Changelog**: https://github.com/tr4nt0r/pynecil/commits/v0.1.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.