Granola

Latest version: v0.9.3

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

Scan your dependencies

0.9.1

Highlights
- Override reconfigure port for mocked cereal (see https://github.com/metergroup/GRANOLA/pull/37 for more details)

0.9.0

Highlights

- See https://granola.readthedocs.io/en/stable/config/moving_to_v0_9_0.html for more information on migrating from previous versions to 0.9.0
- Deprecated MockSerial in favor of new Cereal class.

Bugfixes

<!-- Bugfixes for the GRANOLA code base -->

Configuration

- Added ability to pass any custom Hook or CommandReader into configuration as strings as long as they are defined imported somewhere by the time ``Cereal`` is initialized.
- Added ability to initialize ``CannedQueries`` with dictionary of serial commands
instead of file paths, or a mixture of both.
- Changed many aspects of the configuration syntax
- See https://granola.readthedocs.io/en/stable/config/moving_to_v0_9_0.html for more information

Depreciation

- Deprecated MockSerial class in favor of [Cereal](https://granola.readthedocs.io/en/stable/bk_cereal.html) class.
- Deprecated how MockSerial configuration is handled when moving to Cereal.
- See https://granola.readthedocs.io/en/stable/config/moving_to_v0_9_0.html for more information on migrating from previous versions to 0.9.0

Documentation

- Added a readthedocs website at https://granola.readthedocs.io/en/stable/
- Added API, configuration, and examples to readthedocs
Feature

- Add a write_terminator parameter that lets you specify your end-of-line character.

Packaging

- Added black, isort, and invoke to requirements

Refactor

- Reformatted code with black and isort
- Added black and isort checks in CI build

Removals

<!-- BREAKING changes of code or behavior in GRANOLA-->

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.