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
Port details
py-confection Sweetest config system for Python
0.1.5 devel 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 0.1.5Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-02-21 15:18:34
Last Update: 2024-06-03 02:38:06
Commit Hash: fd52016
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
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.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}confection>0:devel/py-confection@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-confection/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-confection
  • pkg install py311-confection
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-confection listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-confection
Package flavors (<flavor>: <package>)
  • py311: py311-confection
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-confection
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.1.50.1.5-0.1.50.1.5---
FreeBSD:13:quarterly0.1.50.1.5--0.1.5---
FreeBSD:14:latest0.1.50.1.5-0.1.50.1.5---
FreeBSD:14:quarterly0.1.50.1.5--0.1.5---
FreeBSD:15:latest0.1.50.1.5n/a0.1.5n/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
  2. devel/py-thinc8
  3. devel/py-weasel
  4. textproc/py-spacy-llm

Configuration Options:
No options to configure
Options name:
devel_py-confection
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: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.1.5
03 Jun 2024 02:38:06
commit hash: fd520166fc1837382539f5f17e6bd9e971cd1617commit hash: fd520166fc1837382539f5f17e6bd9e971cd1617commit hash: fd520166fc1837382539f5f17e6bd9e971cd1617commit hash: fd520166fc1837382539f5f17e6bd9e971cd1617 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-confection: Update to 0.1.5

Changes:	https://github.com/explosion/confection/releases
0.1.4
21 Feb 2024 15:06:04
commit hash: 4960f5d5663d7a769be76afcc2bb1607d9dd82a0commit hash: 4960f5d5663d7a769be76afcc2bb1607d9dd82a0commit hash: 4960f5d5663d7a769be76afcc2bb1607d9dd82a0commit hash: 4960f5d5663d7a769be76afcc2bb1607d9dd82a0 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-confection: Add py-confection 0.1.4

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.

Number of commits found: 2