Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
""
"
2
This example demonstrates how to use CodeCarbon
with
command line tools.
3
4
⚠️ IMPORTANT LIMITATION:
Callers
nothing calls this directly
Calls
4
EmissionsTracker
Class · 0.90
run_command_line_tool
Function · 0.85
start
Method · 0.45
stop
Method · 0.45
Tested by
no test coverage detected