Metadata-Version: 2.4
Name: auraagent
Version: 0.1.0
Summary: Aura — Carbon tracking and monitoring toolkit
Project-URL: Homepage, https://cevia.io
Project-URL: Repository, https://github.com/tombouVincentA/auraagent
Project-URL: Documentation, https://docs.cevia.io/aura
Project-URL: Issues, https://github.com/tombouVincentA/auraagent/issues
Author-email: CEVIA <info@cevia.ai>
License: MIT License
        
        Copyright (c) 2025 CEVIA
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: ai,carbon,emissions,sustainability,tracking
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.9
Requires-Dist: click>=8.1.0
Requires-Dist: codecarbon>=2.4.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: requests>=2.31.0
Requires-Dist: rich>=13.0.0
Provides-Extra: all
Requires-Dist: aura[installer,web]; extra == 'all'
Provides-Extra: dev
Requires-Dist: httpx>=0.27.0; extra == 'dev'
Requires-Dist: mypy>=1.9.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.3.0; extra == 'dev'
Provides-Extra: installer
Requires-Dist: pyinstaller>=6.0.0; extra == 'installer'
Provides-Extra: web
Requires-Dist: fastapi>=0.110.0; extra == 'web'
Requires-Dist: httpx>=0.27.0; extra == 'web'
Requires-Dist: jinja2>=3.1.0; extra == 'web'
Requires-Dist: python-multipart>=0.0.9; extra == 'web'
Requires-Dist: uvicorn[standard]>=0.27.0; extra == 'web'
Requires-Dist: websockets>=12.0; extra == 'web'
Description-Content-Type: text/markdown

# 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

```bash
# 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

```python
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

```bash
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
