Frequenz-client-electricity-trading

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

Frequenz Electricity Trading API Client Release Notes

Summary

<!-- Here goes a general summary of what this release is about -->

Upgrading

* Update base client from version `0.6.1` to `0.7.0` and upgrade the `Client` constructor accordingly.

New Features

* Add str function for `DeliveryPeriod` object
* Add integration tests for the API
* Add an equality function to the Order type

Bug Fixes

<!-- Here goes notable bug fixes that are worth a special mention or explanation -->


What's Changed
* Fix documentation website link in `README.md` by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/61
* Update examples to use asyncio event loop by daniel-zullo-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/62
* Bump the required group with 8 updates by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/64
* Add `__str__` method for DeliveryPeriod by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/67
* Add integration tests by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/53
* Update base client to v0.7.0 by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/66


**Full Changelog**: https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/compare/v0.2.5...v0.3.0

0.2.5

Frequenz Electricity Trading API Client Release Notes

Summary

<!-- Here goes a general summary of what this release is about -->

Upgrading

<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->

New Features

* Replace assert statements with proper exception handling
* Implement client instance reuse to avoid redundant TCP connections
* Move documentation and code examples to the documentation website
* Replace the local `PaginationParams` type with the `frequenz-client-common` one
* Remove dependency to `googleapis-common-protos`
* Replace `Energy` with `Power` for the `quantity` representation

Bug Fixes

<!-- Here goes notable bug fixes that are worth a special mention or explanation -->


What's Changed
* Reset Release Notes after update to v0.2.4 by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/51
* Replace assert statements with proper exception handling by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/54
* Implement client instance reuse to avoid redundant TCP connections by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/56
* Move documentation and code examples to the documentation website by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/52
* Validate init examples with sybil by Marenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/57
* Bump the required group with 4 updates by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/55
* Replace the local `PaginationParams` type with the `frequenz-client-common` one by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/58
* Remove the dependency on `googleapis` by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/59
* Replace `Energy` with `Power` for the `quantity` representation by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/60


**Full Changelog**: https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/compare/v0.2.4...v0.2.5

0.2.4

Frequenz Electricity Trading API Client Release Notes

Summary

<!-- Here goes a general summary of what this release is about -->

Upgrading

<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->

New Features

- Add input validation checks for `price`, `quantity`, `delivery_period`, `valid_until`, `execution_option` and `order_type`.
- Add unit tests for requests with invalid input parameters.
- Updated dependencies to latest versions

Bug Fixes

- Fix variable name `max_nr_orders` to `max_nr_trades` for trades requests


What's Changed
* Clear release notes after releasing v0.2.3 by daniel-zullo-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/38
* Add input validation checks for the Client Requests by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/40
* Add a validation rule for order execution options by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/44
* Update to latest version for a bunch of dependencies by Marenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/45
* Add rules for `order_type` + unit tests for validation rules by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/47
* Fix variable name `max_nr_orders` to `max_nr_trades` for trades requests by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/48
* Bump deepdiff from 7.0.1 to 8.0.1 by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/43
* Bump the required group across 1 directory with 12 updates by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/50
* Bump the required group across 1 directory with 12 updates by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/49

New Contributors
* Marenz made their first contribution in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/45

**Full Changelog**: https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/compare/v0.2.3...v0.2.4

0.2.3

Frequenz Electricity Trading API Client Release Notes

Bug Fixes

- Fixed list gridpool orders to log an error when an order conversion from protobuf failed and continuing to process other orders.


What's Changed
* Clear release notes by daniel-zullo-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/35
* Fix minor issues found in a code session with Ostrom by daniel-zullo-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/36
* Fix list gridpool orders by daniel-zullo-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/37


**Full Changelog**: https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/compare/v0.2.2...v0.2.3

0.2.2

Frequenz Electricity Trading API Client Release Notes

Summary

<!-- Here goes a general summary of what this release is about -->

Upgrading

- Refactor order states following `frequenz-api-electricity-trading` update to <branch>:

- Remove obsolete order states CANCEL_REQUESTED and CANCEL_REJECTED

- The minimum required version of `frequenz-client-base` is now 0.3

- The minimum required version of `frequenz-channels` is now 1.0

New Features

- Restrict the decimal points of the quantity and price values

- Integrate the BaseApiClient v0.5 into the client

- Add key based authorization to the client

Bug Fixes

- Handle missing protobuf fields in Filter classes


What's Changed
* Fix publishing packaging error by daniel-zullo-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/34


**Full Changelog**: https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/compare/v0.2.1...v0.2.2

0.1.0

Frequenz Electricity Trading API Client Release Notes

Summary

This is the first release of the Frequenz Electricity Trading API Client for Python on this repo. The code was imported from [frequenz-api-electricity-trading v0.1.3](https://github.com/frequenz-floss/frequenz-api-electricity-trading/releases/tag/v0.1.3), and some minor changes were made to adapt it to the updated dependencies.


What's Changed
* Bump actions/cache from 3 to 4 by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/1
* Bump actions/setup-python from 4 to 5 by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/3
* Bump the required group with 13 updates by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/5
* Bump nox from 2023.4.22 to 2024.4.15 by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/7
* Bump deepdiff from 6.7.1 to 7.0.1 by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/6
* Update frequenz-channels requirement from <0.17.0,>=0.16.0 to >=0.16.0,<1.1.0 by dependabot in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/9
* Bump black from 23.12.1 to 24.4.0 by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/10
* Update Release Notes for release v0.1.0 by camille-bouvy-frequenz in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/11

New Contributors
* dependabot made their first contribution in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/1
* camille-bouvy-frequenz made their first contribution in https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/pull/10

**Full Changelog**: https://github.com/frequenz-floss/frequenz-client-electricity-trading-python/commits/v0.1.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.