Skip to main content

Aura — Carbon tracking and monitoring toolkit

Project description

Aura

Carbon tracking and monitoring toolkit for AI engineers.

Composants

Composant Description
aura.carbon Mesure d'émissions CO2 (wrapper CodeCarbon)
aura.web Interface web locale (FastAPI)
aura.core Utilitaires partagés (config, auth, models)

Installation

# Depuis GitHub Packages
pip install aura --index-url https://pip.pkg.github.com/cevia

# Avec le composant web
pip install "aura[web]" --index-url https://pip.pkg.github.com/cevia

Usage rapide

from aura.carbon import AuraCarbon

# Context manager
with AuraCarbon() as tracker:
    train_model()

# Decorator
from aura.carbon import track_emissions

@track_emissions()
def train_model():
    pass

Interface web locale

aura-web
# Ouvre http://localhost:8765 dans le navigateur

Structure

aura/
├── carbon/          # Mesure CO2
│   ├── tracker.py   # AuraCarbon (wrapper CodeCarbon)
│   ├── output.py    # AuraOutput (envoi vers serveur)
│   └── decorators.py
├── web/             # Interface locale
│   ├── main.py      # Point d'entrée (FastAPI + navigateur)
│   ├── app.py       # Application FastAPI
│   ├── routers/     # Endpoints
│   ├── services/    # Logique métier
│   └── templates/   # HTML
└── core/            # Partagé
    ├── config.py    # ~/.aura.config
    ├── auth.py      # Auth serveur
    ├── models.py    # Modèles Pydantic
    └── exceptions.py

Licence

MIT — CEVIA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

auraagent-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

auraagent-0.1.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file auraagent-0.1.0.tar.gz.

File metadata

  • Download URL: auraagent-0.1.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for auraagent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cdb73e0f23ac8529b5d75608554bc2caaf84fbef48d2947a300f28919d7b44c3
MD5 808c14aab3939209b7856586b5880b31
BLAKE2b-256 7f1547eb0dae202bcc5f9a1e145814ee7e14bf1bff172f889453431db5b7f175

See more details on using hashes here.

File details

Details for the file auraagent-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: auraagent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for auraagent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a27a5f54c465253cd50be71714e13d25aaa6b38a9e5bd8e59602796f15ccdc3
MD5 c4c78dad30fa489c9518affc432ca3a6
BLAKE2b-256 47638b06b28a5e62cdc41838716746f5e721643908b99a2b893aa1962df6891f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page