notbug ipv6 ready As 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.
Port details
py-confection0 Sweetest config system for Python
0.1.5 devel 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-18 22:03:43
Last Update: 2026-04-18 21:18:20
Commit Hash: 7545b6d
Also Listed In: python
License: MIT
WWW:
https://github.com/explosion/confection
Description:
confection is a lightweight library that offers a configuration system letting you conveniently describe arbitrary trees of objects. Configuration is a huge challenge for machine-learning code because you may want to expose almost any detail of any function as a hyperparameter. The setting you want to expose might be arbitrarily far down in your call stack, so it might need to pass all the way through the CLI or REST API, through any number of intermediate functions, affecting the interface of everything along the way. And then once those settings are added, they become hard to remove later. Default values also become hard to change without breaking backwards compatibility. To solve this problem, confection offers a config system that lets you easily describe arbitrary trees of objects. The objects can be created via function calls you register using a simple decorator syntax. You can even version the functions you create, allowing you to make improvements without breaking backwards compatibility. The most similar config system we're aware of is Gin, which uses a similar syntax, and also allows you to link the configuration system to functions in your code using a decorator. confection's config system is simpler and emphasizes a different workflow via a subset of Gin's functionality.
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}confection0>0:devel/py-confection0@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-confection0/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-confection0
  • pkg install py311-confection0
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-confection0 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-confection0
Package flavors (<flavor>: <package>)
  • py311: py311-confection0
distinfo:
TIMESTAMP = 1717245761 SHA256 (confection-0.1.5.tar.gz) = 8e72dd3ca6bd4f48913cd220f10b8275978e740411654b6e8ca6d7008c590f0e SIZE (confection-0.1.5.tar.gz) = 38924

Packages (timestamps in pop-ups are UTC):
py311-confection0
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.1.50.1.5--0.1.5n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest0.1.50.1.5--0.1.5---
FreeBSD:14:quarterly--------
FreeBSD:15:latest0.1.50.1.5n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest0.1.50.1.5n/a-n/an/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. python3.11 : lang/python311
Runtime dependencies:
  1. py311-pydantic2>=1.7.4<3.0.0 : devel/py-pydantic2@py311
  2. py311-srsly>=2.4.0<3.0.0 : devel/py-srsly@py311
  3. python3.11 : lang/python311
This port is required by:
for Run
  1. devel/py-thinc

Configuration Options:
No options to configure
Options name:
devel_py-confection0
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/confection/
  2. https://pypi.org/packages/source/c/confection/
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.1.5
18 Apr 2026 21:18:20
commit hash: 7545b6d96a171cd220635ae77e2daece1886498acommit hash: 7545b6d96a171cd220635ae77e2daece1886498acommit hash: 7545b6d96a171cd220635ae77e2daece1886498acommit hash: 7545b6d96a171cd220635ae77e2daece1886498a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-confection0: Add py-confection0 0.1.5 (copied from py-confection)

- Add PORTSCOUT

Number of commits found: 1