Revise some front-end aspects of network endpoints
This MR implements a number of small revisions to the network endpoints API and related tools implemented under declearn.communications. It mainly focuses on improving the code and tools' readability and usability by developers and end-users, changing a few front-end elements without altering the backend code and logic.
Summary of the changes implemented by this MR:
- Rename
ClientandServertoNetworkClientandNetworkServer. - Add
access_types_mappingutil to access registered type mappings. - Add
declearn.communication.list_available_protocols. - Make gRPC and websockets network communication backends optional.
- Auto-generate dataclasses that interface network-endpoints-building functions to ease maintenance.
- Add TOML-parsing to the network endpoints' build-config dataclasses.
This revision was done as part of the polishing effort towards the public release of declearn v2.0.