saef 3.3.0__tar.gz → 3.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {saef-3.3.0 → saef-3.3.1}/PKG-INFO +3 -3
- {saef-3.3.0 → saef-3.3.1}/PYPI_README.md +1 -1
- {saef-3.3.0 → saef-3.3.1}/pyproject.toml +1 -1
- {saef-3.3.0 → saef-3.3.1}/src/saef/__init__.py +1 -1
- {saef-3.3.0 → saef-3.3.1}/.gitignore +0 -0
- {saef-3.3.0 → saef-3.3.1}/LICENSE +0 -0
- {saef-3.3.0 → saef-3.3.1}/LICENSE-CODE +0 -0
- {saef-3.3.0 → saef-3.3.1}/cloud_region_factors.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/factors_v3_lifecycle.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/grid_intensity_all.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/model_class_mapping.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/model_factors.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/region_grid_crosswalk.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/region_water_factors.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/reserved_capacity_factors.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/scripts/sync_data.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/__main__.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/_calc.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/_core.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/cli.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/data/cloud_region_factors.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/data/factors_v3_lifecycle.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/data/grid_intensity_all.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/data/model_class_mapping.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/data/model_factors.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/data/region_grid_crosswalk.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/data/region_water_factors.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/data/reserved_capacity_factors.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/data/token_basis_constants.csv +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/integrations/__init__.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/integrations/_base.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/integrations/langchain.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/integrations/litellm.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/integrations/openai.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/src/saef/mcp_server.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/tests/test_integrations.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/tests/test_mcp_server.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/tests/test_saef.py +0 -0
- {saef-3.3.0 → saef-3.3.1}/token_basis_constants.csv +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: saef
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.1
|
|
4
4
|
Summary: SOMA AI Emission Factors: estimated carbon and water factors for AI inference, per million tokens
|
|
5
5
|
Project-URL: Homepage, https://somaai.earth/ai-footprint
|
|
6
6
|
Project-URL: Documentation, https://somaai.earth/ai-footprint/how-to/track-ai-api-emissions
|
|
@@ -28,7 +28,7 @@ Requires-Dist: langchain>=1.0; extra == 'langchain'
|
|
|
28
28
|
Provides-Extra: litellm
|
|
29
29
|
Requires-Dist: litellm; extra == 'litellm'
|
|
30
30
|
Provides-Extra: mcp
|
|
31
|
-
Requires-Dist: mcp
|
|
31
|
+
Requires-Dist: mcp<2,>=1.2; extra == 'mcp'
|
|
32
32
|
Provides-Extra: pandas
|
|
33
33
|
Requires-Dist: pandas; extra == 'pandas'
|
|
34
34
|
Provides-Extra: test
|
|
@@ -62,7 +62,7 @@ print(r.kg_co2e, r.kg_co2e_high_case) # central and conservative hig
|
|
|
62
62
|
print(r.water_ml) # mL, or None where the region has no water factor
|
|
63
63
|
for s in r.provenance[:3]:
|
|
64
64
|
print(s["file"], s["line"], s["column"]) # the file, line and column behind each number
|
|
65
|
-
print(len(saef.regions()), saef.__version__, saef.DATASET_VERSION) # 143 cloud regions, 3.3.
|
|
65
|
+
print(len(saef.regions()), saef.__version__, saef.DATASET_VERSION) # 143 cloud regions, 3.3.1, 3.1.0
|
|
66
66
|
print(saef.citation())
|
|
67
67
|
```
|
|
68
68
|
|
|
@@ -25,7 +25,7 @@ print(r.kg_co2e, r.kg_co2e_high_case) # central and conservative hig
|
|
|
25
25
|
print(r.water_ml) # mL, or None where the region has no water factor
|
|
26
26
|
for s in r.provenance[:3]:
|
|
27
27
|
print(s["file"], s["line"], s["column"]) # the file, line and column behind each number
|
|
28
|
-
print(len(saef.regions()), saef.__version__, saef.DATASET_VERSION) # 143 cloud regions, 3.3.
|
|
28
|
+
print(len(saef.regions()), saef.__version__, saef.DATASET_VERSION) # 143 cloud regions, 3.3.1, 3.1.0
|
|
29
29
|
print(saef.citation())
|
|
30
30
|
```
|
|
31
31
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|