frequenz-floss / frequenz-client-microgrid-python Goto Github PK
View Code? Open in Web Editor NEWMicrogrid API client for Python
Home Page: https://frequenz-floss.github.io/frequenz-client-microgrid-python/
License: MIT License
Microgrid API client for Python
Home Page: https://frequenz-floss.github.io/frequenz-client-microgrid-python/
License: MIT License
The SDK is using some symbols directly from the protobuf generated files.
Wrap it so it can be used from the client instead.
We are currently testing that some Connection
s are valid, we should test which are invalid too.
Client errors should be easy to catch in a pythonic way, so we should provide one separate error per gRPC status code, at least.
Add ClientTimeout
, RequestCancelled
, etc. exceptions inheriting from ClientError
.
We need to be able to test examples in the examples
directory as part of the CI so we don't break them accidentally (or forget to update them when there are API changes), and allow users to do the same for their apps and actors.
Create a microgrid
mock, or a microgrid API client mock.
The simplest first version should just run an example for few seconds and check if there it didn't crash.
No response
Test using a real microgrid API, but that would be overkill.
No response
When the client create new channels, it uses a fixed string f"raw-component-data-{component_id}"
, which means multiple instances of the client will use the same name for channels, which could be confusing/misleading when looking at the logs.
Add some name
to the API client itself so it can be used in the logs too, defaulting to some short hash that will be unlikely match the auto-generated hash of other API client instances.
Meter and Inverter data types currently don't extract reactive power from the protobuf messages. This needs to be supported.
We need to make sure we don't leak the internal dependencies to the users, ensuring that we can change the underlying implementation in the future without it being a breaking change.
grpclib
errors in some ClientError
that will have the underlying grpc error as the causegrpclib.client.Channel
No response
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.