File: control

package info (click to toggle)
python-confection 0.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 212 kB
  • sloc: python: 1,923; sh: 13; makefile: 3
file content (47 lines) | stat: -rw-r--r-- 2,271 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Source: python-confection
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Andreas Tille <tille@debian.org>
Section: python
Testsuite: autopkgtest-pkg-python
Priority: optional
Build-Depends: debhelper-compat (= 13),
               dh-python,
               pybuild-plugin-pyproject,
               python3-all,
               python3-setuptools,
               python3-pytest <!nocheck>,
               python3-numpy,
               python3-pydantic <!nocheck>,
               python3-srsly <!nocheck>
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-confection
Vcs-Git: https://salsa.debian.org/python-team/packages/python-confection.git
Homepage: https://github.com/explosion/confection
Rules-Requires-Root: no

Package: python3-confection
Architecture: all
Depends: ${python3:Depends},
         ${misc:Depends}
Description: 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.