Frequenz-quantities

Latest version: v1.0.0

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

Scan your dependencies

1.0.0

Frequenz Quantities Library Release Notes

Summary

This first stable release of `frequenz-quantities`!

The code is based on the quantities code in the [`frequenz-sdk` v1.0.0rc601](https://github.com/frequenz-floss/frequenz-sdk-python/releases/tag/v1.0.0-rc601) but with some new features and improvements.

New Features

- Added support for `__round__` (`round(quantity)`), `__pos__` (`+quantity`) and `__mod__` (`quantity % quantity`) operators.
- Add `ReactivePower` quantity.
- Add `ApparentPower` quantity.
- Add an **experimental** marshmallow module available when adding `[marshmallow]` to the requirements. This module provides `marshmallow` fields for quantities and a `QuantitySchema` to use as a base schema that supports loading and dumping quantities.


What's Changed
* Prepare release notes for the final v1.0.0 release by llucax in https://github.com/frequenz-floss/frequenz-quantities-python/pull/29


**Full Changelog**: https://github.com/frequenz-floss/frequenz-quantities-python/compare/v1.0.0-rc4...v1.0.0

1.0.0rc4

Frequenz Quantities Library Release Notes

Summary

This is the initial release, extracted from the [SDK v1.0.0rc601](https://github.com/frequenz-floss/frequenz-sdk-python/releases/tag/v1.0.0-rc601).

New Features

- Added support for `__round__` (`round(quantity)`), `__pos__` (`+quantity`) and `__mod__` (`quantity % quantity`) operators.
- Add `ReactivePower` quantity.
- Add `ApparentPower` quantity.
- Add an **experimental** marshmallow module available when adding `[marshmallow]` to the requirements.
* Add a QuantitySchema supporting string/float based serialization and deserialization of quantities.


What's Changed
* Add marshmallow fields for apparent and reactive power by llucax in https://github.com/frequenz-floss/frequenz-quantities-python/pull/27
* Make the new `marshmallow` module experimental by llucax in https://github.com/frequenz-floss/frequenz-quantities-python/pull/28


**Full Changelog**: https://github.com/frequenz-floss/frequenz-quantities-python/compare/v1.0.0-rc3...v1.0.0-rc4

1.0.0rc3

Frequenz Quantities Library Release Notes

Summary

This is the initial release, extracted from the [SDK v1.0.0rc601](https://github.com/frequenz-floss/frequenz-sdk-python/releases/tag/v1.0.0-rc601).

New Features

- Added support for `__round__` (`round(quantity)`), `__pos__` (`+quantity`) and `__mod__` (`quantity % quantity`) operators.
- Add `ReactivePower` quantity.
- Add `ApparentPower` quantity.
- Add marshmallow module available when adding `[marshmallow]` to the requirements.
- Add a QuantitySchema supporting string/float based serialization and deserialization of most quantities (except for `ReactivePower` and `ApparentPower`).


What's Changed
* Add marshmallow helpers by Marenz in https://github.com/frequenz-floss/frequenz-quantities-python/pull/24
* Build(deps): Bump the required group with 8 updates by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/25

New Contributors
* Marenz made their first contribution in https://github.com/frequenz-floss/frequenz-quantities-python/pull/24

**Full Changelog**: https://github.com/frequenz-floss/frequenz-quantities-python/compare/v1.0.0-rc2...v1.0.0-rc3

1.0.0rc2

Frequenz Quantities Library Release Notes

Summary

This is the initial release, extracted from the [SDK v1.0.0rc601](https://github.com/frequenz-floss/frequenz-sdk-python/releases/tag/v1.0.0-rc601).

New Features

- Added support for `__round__` (`round(quantity)`), `__pos__` (`+quantity`) and `__mod__` (`quantity % quantity`) operators.
- Add `ReactivePower` quantity.
- Add `ApparentPower` quantity.


What's Changed
* Bump brettcannon/check-for-changed-files from 1.2.0 to 1.2.1 by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/14
* Bump docker/build-push-action from 5 to 6 by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/15
* Bump the required group with 8 updates by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/13
* Build(deps): Bump the required group across 1 directory with 18 updates by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/18
* Update files based on repo-config v0.10 templates by llucax in https://github.com/frequenz-floss/frequenz-quantities-python/pull/21
* Add Reactive and Apparent power quantities by ela-kotulska-frequenz in https://github.com/frequenz-floss/frequenz-quantities-python/pull/23

New Contributors
* ela-kotulska-frequenz made their first contribution in https://github.com/frequenz-floss/frequenz-quantities-python/pull/23

**Full Changelog**: https://github.com/frequenz-floss/frequenz-quantities-python/compare/v1.0.0-rc1...v1.0.0-rc2

1.0.0rc1

Frequenz Quantities Library Release Notes

Summary

This is the initial release, extracted from the [SDK v1.0.0rc601](https://github.com/frequenz-floss/frequenz-sdk-python/releases/tag/v1.0.0-rc601).

New Features

- Added support for `__round__` (`round(quantity)`), `__pos__` (`+quantity`) and `__mod__` (`quantity % quantity`) operators.


What's Changed
* Initial repository structure by llucax in https://github.com/frequenz-floss/frequenz-quantities-python/pull/1
* Bump actions/upload-artifact from 3 to 4 by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/3
* Bump actions/download-artifact from 3 to 4 by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/2
* Bump the required group with 11 updates by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/6
* Bump actions/setup-python from 4 to 5 by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/5
* Bump actions/cache from 3 to 4 by dependabot in https://github.com/frequenz-floss/frequenz-quantities-python/pull/4
* Add initial code imported from the SDK by llucax in https://github.com/frequenz-floss/frequenz-quantities-python/pull/7
* Add more common operations to `Quantity` by llucax in https://github.com/frequenz-floss/frequenz-quantities-python/pull/10

New Contributors
* llucax made their first contribution in https://github.com/frequenz-floss/frequenz-quantities-python/pull/1
* dependabot made their first contribution in https://github.com/frequenz-floss/frequenz-quantities-python/pull/3

**Full Changelog**: https://github.com/frequenz-floss/frequenz-quantities-python/commits/v1.0.0-rc1

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.