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 photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Server is being updated to FreeBSD 14.3 as you read this... and it is done.
Commit processing is stalled - it is a jail issue. I will work on it later today. 2025-09-17 12:17 UTC - It has been fixed. Sometime before 17:27 UTC.
Port details
py-codecarbon Track Compute emissions, recommend ways to reduce environmental impact
3.0.4 misc on this many watch lists=2 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 2.3.5_1Version 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: 2025-08-22 17:53:32
Commit Hash: 80bd807
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
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 py311-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 py311-codecarbon listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-codecarbon
Package flavors (<flavor>: <package>)
  • py311: py311-codecarbon
distinfo:
TIMESTAMP = 1755884609 SHA256 (codecarbon-3.0.4.tar.gz) = 4292fede09e44753b1185a8b91c53e1ed9108692733f612f32c44cab779dcc8c SIZE (codecarbon-3.0.4.tar.gz) = 296194

Packages (timestamps in pop-ups are UTC):
py311-codecarbon
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.0.43.0.4-3.0.43.0.4---
FreeBSD:13:quarterly2.3.5_12.3.5_1-2.3.5_12.3.5_1---
FreeBSD:14:latest3.0.43.0.4-2.3.5_13.0.4---
FreeBSD:14:quarterly2.3.5_12.3.5_1-2.3.5_12.3.5_1---
FreeBSD:15:latest2.3.5_13.0.4n/a2.3.5_1n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-wheel>0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-mock>0 : devel/py-mock@py311
  2. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  3. py311-requests-mock>0 : www/py-requests-mock@py311
  4. py311-responses>0 : devel/py-responses@py311
  5. py311-pytest>=7,1 : devel/py-pytest@py311
  6. python3.11 : lang/python311
Runtime dependencies:
  1. py311-arrow>0 : devel/py-arrow@py311
  2. py311-click>0 : devel/py-click@py311
  3. py311-pandas>0 : math/py-pandas@py311
  4. py311-prometheus-client>0 : net-mgmt/py-prometheus-client@py311
  5. py311-psutil>0 : sysutils/py-psutil@py311
  6. py311-py-cpuinfo>0 : sysutils/py-py-cpuinfo@py311
  7. py311-pynvml>0 : devel/py-pynvml@py311
  8. py311-rapidfuzz>0 : devel/py-rapidfuzz@py311
  9. py311-rich>0 : textproc/py-rich@py311
  10. py311-questionary>0 : devel/py-questionary@py311
  11. py311-requests>0 : www/py-requests@py311
  12. py311-typer>0 : devel/py-typer@py311
  13. python3.11 : lang/python311
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: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 3