python-confection 0.0.4-2 source package in Ubuntu
Changelog
python-confection (0.0.4-2) unstable; urgency=medium * Fix numpy dependency -- Andreas Tille <email address hidden> Wed, 08 Feb 2023 09:00:13 +0100
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-confection_0.0.4-2.dsc | 2.2 KiB | bedbf19cece632514ee8fb0cdee4a6a37afe501e86d7515b7d04e2ca6beecdbc |
python-confection_0.0.4.orig.tar.gz | 31.0 KiB | 80b7c874e97ff8495314dfd2524344863a6f02d2cc9d449d744dc58ff9b6236c |
python-confection_0.0.4-2.debian.tar.xz | 2.5 KiB | cde7e297197bd9684bfe42f311128d5802f082b794ecf806982d63810c4534a3 |
Available diffs
- diff from 0.0.4-1 to 0.0.4-2 (516 bytes)
No changes file available.
Binary packages built by this source
- python3-confection: sweetest config system for Python3
Confection candy 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.