Metadata-Version: 2.4
Name: netgreener
Version: 0.4.6
Summary: NetGreener CLI: AI developer agent and runtime control for measuring and reducing compute cost, energy, carbon, and water across the software lifecycle
Author-email: Saeed Khazaee <saeed@netgreener.com>
Requires-Python: <3.15,>=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31
Requires-Dist: psutil>=5.9
Requires-Dist: pyyaml>=6.0
Requires-Dist: jsonschema<5,>=4.18
Requires-Dist: rfc3339-validator<1,>=0.1.4
Dynamic: license-file

# NetGreener CLI

**NetGreener** is the AI developer agent and runtime control layer for measuring and reducing compute cost, energy, carbon, and water across the software lifecycle.

Use the CLI to analyze code, run workloads with metering, gate CI on energy, and upload findings to the NetGreener dashboard.

## Install

```bash
pip install netgreener
```

Platform wheels (protected agent + runtime surface): **Windows (amd64)** and **Linux (manylinux)**.

```bash
netgreener login
netgreener analyze .
netgreener run train.py .
netgreener check --run-id <id>
```

Service runtime (same install — no separate source tree required):

```python
from netgreener import install_fastapi_runtime
install_fastapi_runtime(app)
```

```bash
netgreener runtime entrypoint -- celery -A app worker ...
```

## Notes

- TensorFlow is **not** bundled. Optional tabular VGG16 / image ResNet dataset features need a **source/dev** install plus `pip install tensorflow`.
- Analyzer / NLP source is not shipped as top-level `.py` (lives in the bundled agent). Runtime middleware and collector modules **are** included.
- Same commands work from the VS Code / Cursor extension (`netgreener.cliPath`).

## Docs

- https://dashboard.netgreener.com
- Project handbook and CI examples live in the NetGreener documentation set.
