{"id":27714,"library":"edge-mdt-tpc","title":"EdgeMDT TPC","description":"EdgeMDT TPC (Third-Party Connectivity) is a Python package for integrating with edge management and diagnostics tools, version 1.3.0, with monthly releases.","status":"active","version":"1.3.0","language":"python","source_language":"en","source_url":"https://github.com/edge-mdt/edge-mdt-tpc","tags":["edge-mdt","tpc","connectivity","grpc"],"install":[{"cmd":"pip install edge-mdt-tpc","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"gRPC communication","package":"grpcio","optional":false},{"reason":"Protocol Buffers serialization","package":"protobuf","optional":false}],"imports":[{"note":"Old import path from pre-1.0 version","wrong":"from edge_mdt import EdgeMDTClient","symbol":"EdgeMDTClient","correct":"from edge_mdt_tpc import EdgeMDTClient"}],"quickstart":{"code":"from edge_mdt_tpc import EdgeMDTClient\n\nclient = EdgeMDTClient(endpoint=os.environ.get('EDGE_MDT_ENDPOINT', 'localhost:50051'), credentials=os.environ.get('EDGE_MDT_CREDENTIALS', ''))\nresult = client.connect()\nprint(result)","lang":"python","description":"Initialize client with endpoint and optional credentials from environment variables."},"warnings":[{"fix":"Update all imports to use 'edge_mdt_tpc'.","message":"In version 1.0.0, the package name changed from edge-mdt to edge-mdt-tpc. Existing code using 'edge_mdt' imports will break.","severity":"breaking","affected_versions":"<1.0.0"},{"fix":"Always provide a credentials argument, even if an empty string.","message":"The client constructor requires both 'endpoint' and 'credentials' arguments; omitting 'credentials' will raise a TypeError.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Replace calls to .login() with .authenticate().","message":"The method 'EdgeMDTClient.login()' was deprecated in 1.2.0 and will be removed in 2.0.0. Use 'EdgeMDTClient.authenticate()' instead.","severity":"deprecated","affected_versions":">=1.2.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run `pip install edge-mdt-tpc` and ensure no conflicting old version exists.","cause":"Package not installed or installed under old name 'edge-mdt'","error":"ModuleNotFoundError: No module named 'edge_mdt_tpc'"},{"fix":"Pass a credentials string, e.g., EdgeMDTClient(endpoint='...', credentials='...').","cause":"Credentials argument not provided when constructing EdgeMDTClient.","error":"TypeError: __init__() missing 1 required positional argument: 'credentials'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}