1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-jsonargparse
7 SDESC[py310]= JSON argument and config file parser (3.10)
8 SDESC[v11]= JSON argument and config file parser (3.11)
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/8f/f9/01a023c42ce3f7de79976de30a49ce0cf59c622aa1f83147469d20e371b9
14 DISTFILE[1]= jsonargparse-4.23.0-py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY310 PY311
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY310=ON PY311=OFF
22 VOPTS[v11]= PY310=OFF PY311=ON
24 DISTNAME= jsonargparse-4.23.0.dist-info
28 [PY310].RUN_DEPENDS_ON= python-PyYAML:single:py310
29 [PY310].USES_ON= python:py310,wheel
31 [PY311].RUN_DEPENDS_ON= python-PyYAML:single:v11
32 [PY311].USES_ON= python:v11,wheel
34 [FILE:3341:descriptions/desc.single]
40 Docs: https://jsonargparse.readthedocs.io/
42 Source: https://github.com/omni-us/jsonargparse/
44 This package is an extension to python's argparse which simplifies parsing
46 configuration options from command line arguments, json configuration files
47 ([yaml] or [jsonnet] supersets),
48 environment variables and hard-coded defaults.
50 The aim is similar to other projects such as [configargparse
57 ]. The obvious question is, why yet another
58 package similar to many already existing ones? The answer is simply that
60 the existing projects had the exact features we wanted and after analyzing
62 alternatives it seemed simpler to start a new project.
67 - Great support of type hints for automatic creation of parsers and minimal
68 boilerplate command line interfaces.
70 - Non-intrusive/decoupled parsing logic. No need to inherit from a special
72 or add decorators or use custom type hints.
74 - Easy to implement configurable dependency injection (object composition).
76 - Support for nested namespaces making possible to parse config files with
79 - Parsing of relative paths within config files and path lists.
81 - Support for two popular supersets of json: yaml and jsonnet.
83 - Parsers can be configured just like with python's argparse, thus it has a
84 gentle learning curve.
86 - Several convenient types and action classes to ease common parsing use
88 (paths, comparison operators, json schemas, enums, regex strings, ...).
90 - Support for command line tab argument completion using [argcomplete
98 You can install using [pip] as:
102 pip install jsonargparse
104 By default the only dependency that jsonargparse installs is [PyYAML
105 ]. However, several optional features can be
106 enabled by specifying any of the following extras requires: signatures,
107 jsonschema, jsonnet, urls, argcomplete and reconplogger.
108 There is also the all extras require to enable all optional features.
109 Installing jsonargparse with extras require is as follows:
113 pip install "jsonargparse[signatures,urls]" # Enable signatures and
115 pip install "jsonargparse[all]" # Enable all optional
118 The following table references sections that describe optional features and
120 corresponding extras requires that enables them.
122 +-----------------------------+-------------+-------------+---------+------------+------------+
123 | | urls/fsspec | argcomplete | jsonnet |
124 jsonschema | signatures |
125 +-----------------------------+-------------+-------------+---------+------------+------------+
126 | `classes-methods-functions` | | | |
128 +-----------------------------+-------------+-------------+---------+------------+------------+
129 | `parsing-urls` | ✓ | | |
131 +-----------------------------+-------------+-------------+---------+------------+------------+
132 | `json-schemas` | | | | ✓
134 +-----------------------------+-------------+-------------+---------+------------+------------+
138 b057619b1d317b849bf6d8e36e6cdb2074c2b676b5a5e4df794faf1f3c26e2aa 198674 jsonargparse-4.23.0-py3-none-any.whl