Port details |
- py-confection Sweetest config system for Python
- 0.1.5 devel =2 0.1.5Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- 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.
- ¦ ¦ ¦ ¦
- 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>)
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pydantic2>=1.7.4<3.0.0 : devel/py-pydantic2@py311
- py311-srsly>=2.4.0<3.0.0 : devel/py-srsly@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-thinc
- devel/py-thinc8
- devel/py-weasel
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.1.5 03 Jun 2024 02:38:06 |
Po-Chuan Hsieh (sunpoet) |
devel/py-confection: Update to 0.1.5
Changes: https://github.com/explosion/confection/releases |
0.1.4 21 Feb 2024 15:06:04 |
Po-Chuan Hsieh (sunpoet) |
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. |