MCPcopy Create free account
hub / github.com/mlco2/codecarbon / command_line_tool.py

File command_line_tool.py

examples/command_line_tool.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2This example demonstrates how to use CodeCarbon with command line tools.
3
4⚠️ IMPORTANT LIMITATION:

Callers

nothing calls this directly

Calls 4

EmissionsTrackerClass · 0.90
run_command_line_toolFunction · 0.85
startMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected