codecarbon 3.0.6__tar.gz → 3.0.7__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.
- {codecarbon-3.0.6 → codecarbon-3.0.7}/PKG-INFO +4 -2
- codecarbon-3.0.7/codecarbon/_version.py +1 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon.egg-info/PKG-INFO +4 -2
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon.egg-info/requires.txt +6 -1
- {codecarbon-3.0.6 → codecarbon-3.0.7}/pyproject.toml +4 -2
- codecarbon-3.0.6/codecarbon/_version.py +0 -1
- {codecarbon-3.0.6 → codecarbon-3.0.7}/LICENSE +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/README.md +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/__init__.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/cli/__init__.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/cli/cli_utils.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/cli/main.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/__init__.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/api_client.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/cloud.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/co2_signal.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/config.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/cpu.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/emissions.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/gpu.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/measure.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/powermetrics.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/rapl.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/resource_tracker.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/schemas.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/units.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/core/util.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/canada_provinces.geojson +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/cloud/impact.csv +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/hardware/cpu_dataset_builder/amd_cpu_scrapper.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/hardware/cpu_dataset_builder/intel_cpu_scrapper.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/hardware/cpu_dataset_builder/merge_scrapped_cpu_power.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/hardware/cpu_power.csv +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/private_infra/2016/usa_emissions.json +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/private_infra/2023/canada_energy_mix.json +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/private_infra/carbon_intensity_per_source.json +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/private_infra/global_energy_mix.json +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/emissions_tracker.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/external/__init__.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/external/geography.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/external/hardware.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/external/logger.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/external/ram.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/external/scheduler.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/external/task.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/input.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/lock.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/__init__.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/base_output.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/emissions_data.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/file.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/http.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/logger.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/metrics/__init__.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/metrics/logfire.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/metrics/metric_docs.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/output_methods/metrics/prometheus.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/viz/__init__.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/viz/assets/__init__.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/viz/carbonboard.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/viz/carbonboard_on_api.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/viz/components.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/viz/data.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/viz/units.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon.egg-info/SOURCES.txt +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon.egg-info/dependency_links.txt +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon.egg-info/entry_points.txt +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon.egg-info/top_level.txt +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/setup.cfg +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_api_call.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_cli.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_cloud.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_co2_signal.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_config.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_core_util.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_cpu.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_cpu_load.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_custom_handler.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_emissions.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_emissions_tracker.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_emissions_tracker_constant.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_emissions_tracker_flush.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_energy.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_geography.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_gpu.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_lock.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_logging_output.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_offline_emissions_tracker.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_package_integrity.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_powermetrics.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_ram.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_tracking_inference.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_unsupported_gpu.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_viz_data.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/test_viz_units.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/testdata.py +0 -0
- {codecarbon-3.0.6 → codecarbon-3.0.7}/tests/testutils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codecarbon
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.7
|
|
4
4
|
Author: Mila, DataForGood, BCG GAMMA, Comet.ml, Haverford College
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://codecarbon.io/
|
|
@@ -17,13 +17,15 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
21
|
Requires-Python: >=3.7
|
|
21
22
|
Description-Content-Type: text/markdown
|
|
22
23
|
License-File: LICENSE
|
|
23
24
|
Requires-Dist: arrow
|
|
24
25
|
Requires-Dist: click
|
|
25
26
|
Requires-Dist: fief-client[cli]
|
|
26
|
-
Requires-Dist: pandas
|
|
27
|
+
Requires-Dist: pandas>=2.3.3; python_version >= "3.14"
|
|
28
|
+
Requires-Dist: pandas; python_version < "3.14"
|
|
27
29
|
Requires-Dist: prometheus_client
|
|
28
30
|
Requires-Dist: psutil>=6.0.0
|
|
29
31
|
Requires-Dist: py-cpuinfo
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.0.7"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codecarbon
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.7
|
|
4
4
|
Author: Mila, DataForGood, BCG GAMMA, Comet.ml, Haverford College
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://codecarbon.io/
|
|
@@ -17,13 +17,15 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
21
|
Requires-Python: >=3.7
|
|
21
22
|
Description-Content-Type: text/markdown
|
|
22
23
|
License-File: LICENSE
|
|
23
24
|
Requires-Dist: arrow
|
|
24
25
|
Requires-Dist: click
|
|
25
26
|
Requires-Dist: fief-client[cli]
|
|
26
|
-
Requires-Dist: pandas
|
|
27
|
+
Requires-Dist: pandas>=2.3.3; python_version >= "3.14"
|
|
28
|
+
Requires-Dist: pandas; python_version < "3.14"
|
|
27
29
|
Requires-Dist: prometheus_client
|
|
28
30
|
Requires-Dist: psutil>=6.0.0
|
|
29
31
|
Requires-Dist: py-cpuinfo
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
arrow
|
|
2
2
|
click
|
|
3
3
|
fief-client[cli]
|
|
4
|
-
pandas
|
|
5
4
|
prometheus_client
|
|
6
5
|
psutil>=6.0.0
|
|
7
6
|
py-cpuinfo
|
|
@@ -13,6 +12,12 @@ questionary
|
|
|
13
12
|
rich
|
|
14
13
|
typer
|
|
15
14
|
|
|
15
|
+
[:python_version < "3.14"]
|
|
16
|
+
pandas
|
|
17
|
+
|
|
18
|
+
[:python_version >= "3.14"]
|
|
19
|
+
pandas>=2.3.3
|
|
20
|
+
|
|
16
21
|
[api]
|
|
17
22
|
alembic<2.0.0
|
|
18
23
|
bcrypt<5.0.0
|
|
@@ -25,12 +25,14 @@ classifiers = [
|
|
|
25
25
|
"Programming Language :: Python :: 3.11",
|
|
26
26
|
"Programming Language :: Python :: 3.12",
|
|
27
27
|
"Programming Language :: Python :: 3.13",
|
|
28
|
+
"Programming Language :: Python :: 3.14",
|
|
28
29
|
]
|
|
29
30
|
dependencies = [
|
|
30
31
|
"arrow",
|
|
31
32
|
"click",
|
|
32
33
|
"fief-client[cli]",
|
|
33
|
-
"pandas",
|
|
34
|
+
"pandas>=2.3.3;python_version>='3.14'",
|
|
35
|
+
"pandas;python_version<'3.14'",
|
|
34
36
|
"prometheus_client",
|
|
35
37
|
"psutil >= 6.0.0",
|
|
36
38
|
"py-cpuinfo",
|
|
@@ -160,7 +162,7 @@ docs = "cd docs/edit && make docs"
|
|
|
160
162
|
carbonboard = "python codecarbon/viz/carbonboard.py"
|
|
161
163
|
|
|
162
164
|
[tool.bumpver]
|
|
163
|
-
current_version = "3.0.
|
|
165
|
+
current_version = "3.0.7"
|
|
164
166
|
version_pattern = "MAJOR.MINOR.PATCH[_TAGNUM]"
|
|
165
167
|
|
|
166
168
|
[tool.bumpver.file_patterns]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.0.6"
|
|
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
|
{codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/private_infra/2023/canada_energy_mix.json
RENAMED
|
File without changes
|
{codecarbon-3.0.6 → codecarbon-3.0.7}/codecarbon/data/private_infra/carbon_intensity_per_source.json
RENAMED
|
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
|
|
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
|