Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>EcoTrace: Python Carbon MonitorNew to Visual Studio Code? Get it now.
EcoTrace: Python Carbon Monitor

EcoTrace: Python Carbon Monitor

EcoTrace Team

|
1 install
| (1) | Free
Real-time carbon footprint monitoring for your Python code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🌱 EcoTrace — Sustainability OS for VS Code

Real-time carbon footprint monitoring for your engineering workflow.

Marketplace Version Downloads Sustainability

EcoTrace is a professional IDE extension designed for sustainable engineering. It bridges the gap between your Python carbon engine and your development environment.

🌟 Features

  • 🚀 Real-Time Monitoring: Automatically watches your ecotrace_log.csv and updates your status bar as you run your code.
  • 🌱 Live Carbon Totals: Tracks both the last measured footprint and your total cumulative carbon for the current session.
  • 📋 One-Click Reporting: Click the status bar item to instantly open your detailed ecotrace_full_report.pdf.
  • 🏗️ Zero Configuration: Automatically detects EcoTrace logs in your current workspace without any setup.

🛠️ Getting Started

  1. Install the Python Library:

    pip install ecotrace
    
  2. Instrument Your Code:

    from ecotrace import EcoTrace
    eco = EcoTrace()
    
    with eco.track_block("processing"):
        # Your carbon-intensive code here
        pass
    
  3. Watch the Status Bar: Once your code runs, the EcoTrace icon will appear in the bottom-left corner of your VS Code.

📊 Analytics & Insights

EcoTrace uses the Boavizta TDP Database and Electricity Maps API to provide the most accurate real-time carbon data available for local development.


📜 Manifesto

We believe that performance is sustainability. By making carbon metrics visible in the IDE, we empower developers to write leaner, greener, and more efficient code.

Crafted with 💚 for a sustainable future.


GitHub Repository · Report an Issue · Marketplace

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft