notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
py-codecarbon Track Compute emissions, recommend ways to reduce environmental impact
3.2.9 misc on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.0.4Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-04-28 07:12:29
Last Update: 2026-07-29 18:04:32
Commit Hash: e57de8f
License: MIT
WWW:
https://mlco2.github.io/codecarbon/
Description:
The codecarbon package estimates and tracks carbon emissions from your computer, quantify and analyze their impact.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}codecarbon>0:misc/py-codecarbon@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-codecarbon/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-codecarbon
  • pkg install py312-codecarbon
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-codecarbon listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-codecarbon
Package flavors (<flavor>: <package>)
  • py312: py312-codecarbon
distinfo:
TIMESTAMP = 1785297490 SHA256 (codecarbon-3.2.9.tar.gz) = e0bb43bf59896398d7fa01cf973a97b2cb2ffb82d9cf50613bcf0c650ad2d00b SIZE (codecarbon-3.2.9.tar.gz) = 432755

Packages (timestamps in pop-ups are UTC):
py311-codecarbon
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.0.43.0.4-3.0.43.0.4n/an/an/a
FreeBSD:13:quarterly3.0.43.0.4-2.3.5_13.0.4n/an/an/a
FreeBSD:14:latest---3.0.4----
FreeBSD:14:quarterly---2.3.5_1----
FreeBSD:15:latest--n/a2.3.5_1n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 

py312-codecarbon
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest3.0.4_13.0.4_1--3.0.4_1---
FreeBSD:14:quarterly3.0.4_13.0.4_1--3.0.4_1---
FreeBSD:15:latest3.0.4_13.0.4_1n/a-n/an/a--
FreeBSD:15:quarterly3.0.4_13.0.4_1n/a-n/an/a--
FreeBSD:16:latest3.0.4_13.2.9n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. py312-mock>0 : devel/py-mock@py312
  2. py312-numpy>=1.16 : math/py-numpy@py312
  3. py312-requests-mock>0 : www/py-requests-mock@py312
  4. py312-responses>0 : devel/py-responses@py312
  5. py312-pytest>=7,1 : devel/py-pytest@py312
  6. python3.12 : lang/python312
Runtime dependencies:
  1. py312-arrow>0 : devel/py-arrow@py312
  2. py312-authlib>=1.2.1 : security/py-authlib@py312
  3. py312-click>0 : devel/py-click@py312
  4. py312-joserfc>=1.0.0 : security/py-joserfc@py312
  5. py312-pandas>0 : math/py-pandas@py312
  6. py312-prometheus-client>0 : net-mgmt/py-prometheus-client@py312
  7. py312-psutil>=6.0.0 : sysutils/py-psutil@py312
  8. py312-py-cpuinfo>0 : sysutils/py-py-cpuinfo@py312
  9. py312-pycountry>0 : textproc/py-pycountry@py312
  10. py312-pydantic2>=2.0.0 : devel/py-pydantic2@py312
  11. py312-pynvml>0 : devel/py-pynvml@py312
  12. py312-questionary>0 : devel/py-questionary@py312
  13. py312-rapidfuzz>0 : devel/py-rapidfuzz@py312
  14. py312-requests>0 : www/py-requests@py312
  15. py312-rich>0 : textproc/py-rich@py312
  16. py312-typer>0 : devel/py-typer@py312
  17. py312-dash>0 : www/py-dash@py312
  18. python3.12 : lang/python312
This port is required by:
for Run
  1. misc/py-transformers

Configuration Options:
No options to configure
Options name:
misc_py-codecarbon
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/c/codecarbon/
  2. https://pypi.org/packages/source/c/codecarbon/
Collapse this list.

Number of commits found: 7

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.2.9
29 Jul 2026 18:04:32
commit hash: e57de8f82ca0c71d0d8b881d24706e8a014dad52commit hash: e57de8f82ca0c71d0d8b881d24706e8a014dad52commit hash: e57de8f82ca0c71d0d8b881d24706e8a014dad52commit hash: e57de8f82ca0c71d0d8b881d24706e8a014dad52 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-codecarbon: update 3.0.4 → 3.2.9
3.0.4_1
05 May 2026 19:29:37
commit hash: 2bf3834a197ccf8956332378eda8dd7577965246commit hash: 2bf3834a197ccf8956332378eda8dd7577965246commit hash: 2bf3834a197ccf8956332378eda8dd7577965246commit hash: 2bf3834a197ccf8956332378eda8dd7577965246 files touched by this commit
Max Brazhnikov (makc) search for other commits by this committer
*/*: bump PORTREVISION after switching to NumPy 2.x
3.0.4
05 May 2026 19:29:37
commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6 files touched by this commit Sanity Test Failure
Max Brazhnikov (makc) search for other commits by this committer
*/*: Switch to NumPy 2.x

PR:		294328
Exp-run:	antoine
3.0.4
03 Apr 2026 20:52:43
commit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python.mk: retire ${PYNUMPY}

With both math/py-numpy (2) and math/py-numpy1, the variable stopped
making sense. Also remove the upper version bound.
3.0.4
22 Aug 2025 17:53:32
commit hash: 80bd8078251eae0235bf43f3c9b5af7188887ee6commit hash: 80bd8078251eae0235bf43f3c9b5af7188887ee6commit hash: 80bd8078251eae0235bf43f3c9b5af7188887ee6commit hash: 80bd8078251eae0235bf43f3c9b5af7188887ee6 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-codecarbon: update 2.3.5 → 3.0.4
2.3.5_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2.3.5
28 Apr 2024 07:10:01
commit hash: 85db96ff35440744ee033db9a66d7e0e2467b00ecommit hash: 85db96ff35440744ee033db9a66d7e0e2467b00ecommit hash: 85db96ff35440744ee033db9a66d7e0e2467b00ecommit hash: 85db96ff35440744ee033db9a66d7e0e2467b00e files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-codecarbon: New port: Track Compute emissions, recommend ways to reduce
environmental impact

Number of commits found: 7