Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
py-darkdetect This Python package allows to detect if the user is using Dark Mode
0.8.0 devel Σ=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 0.8.0Version of this port present on the latest quarterly branch.
Maintainer: nivit@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-02-04 15:12:07
Last Update: 2026-02-04 15:09:07
Commit Hash: 827f537
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://pypi.org/project/darkdetect/
Description: #
The main application of this Python package is to detect the Dark mode from your GUI Python application (Tkinter/wx/pyqt/qt for python (pyside)/...) and apply the needed adjustments to your interface. Darkdetect is particularly useful if your GUI library does not provide a public API for this detection. In addition, this package does not depend on other modules or packages that are not already included in standard Python distributions.
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}darkdetect>0:devel/py-darkdetect@${PY_FLAVOR}
To install the port: #
cd /usr/ports/devel/py-darkdetect/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-darkdetect
  • pkg install py311-darkdetect
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-darkdetect listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-darkdetect
Package flavors (<flavor>: <package>) #
  • py311: py311-darkdetect
distinfo: #
TIMESTAMP = 1770201734 SHA256 (darkdetect-0.8.0.tar.gz) = b5428e1170263eb5dea44c25dc3895edd75e6f52300986353cd63533fe7df8b1 SIZE (darkdetect-0.8.0.tar.gz) = 7681

Packages (timestamps in pop-ups are UTC): #
py312-darkdetect
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.00.8.0--0.8.0
FreeBSD:14:quarterly0.8.00.8.0--0.8.0
FreeBSD:15:latest0.8.00.8.0n/a-n/a
FreeBSD:15:quarterly0.8.00.8.0n/a-n/a
FreeBSD:16:latest0.8.00.8.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py311-setuptools>=42 : 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. python3.11 : lang/python311
Runtime dependencies: #
  1. python3.11 : lang/python311
This port is required by: #
for Run #
  1. graphics/py-fotokilof
  2. x11-toolkits/py-customtkinter

Configuration Options: #
No options to configure
Options name: #
devel_py-darkdetect
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/d/darkdetect/
  2. https://pypi.org/packages/source/d/darkdetect/
Collapse this list.

Number of commits found: 1 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.8.0
04 Feb 2026 15:09:07
commit hash: 827f537cfbf70937b904532d6eb5acf6103a81abcommit hash: 827f537cfbf70937b904532d6eb5acf6103a81abcommit hash: 827f537cfbf70937b904532d6eb5acf6103a81abcommit hash: 827f537cfbf70937b904532d6eb5acf6103a81ab files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
devel/py-darkdetect: Add new port

The main application of this Python package is to detect the Dark mode from
your GUI Python application (Tkinter/wx/pyqt/qt for python (pyside)/...) and
apply the needed adjustments to your interface. Darkdetect is particularly
useful if your GUI library does not provide a public API for this detection.
In addition, this package does not depend on other modules or packages that are
not already included in standard Python distributions.

https://pypi.org/project/darkdetect/

Number of commits found: 1