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/9b/ae/a809446e1916901bcd2b2d4655a1431ac9c79e99b6192f4ba241dec61c35
14 DISTFILE[1]= jsonargparse-4.21.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.21.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:3387:descriptions/desc.single]
40 https://github.com/omni-us/jsonargparse/
42 This package is an extension to python's argparse which simplifies parsing
44 configuration options from command line arguments, json configuration files
45 ([yaml] or [jsonnet] supersets),
46 environment variables and hard-coded defaults.
48 The aim is similar to other projects such as [configargparse
55 ]. The obvious question is, why yet another
56 package similar to many already existing ones? The answer is simply that
58 the existing projects had the exact features we wanted and after analyzing
60 alternatives it seemed simpler to start a new project.
65 - Great support of type hints for automatic creation of parsers and minimal
66 boilerplate command line interfaces.
68 - Non-intrusive/decoupled parsing logic. No need to inherit from a special
70 or add decorators or use custom type hints.
72 - Easy to implement configurable dependency injection (object composition).
74 - Support for nested namespaces making possible to parse config files with
77 - Parsing of relative paths within config files and path lists.
79 - Support for two popular supersets of json: yaml and jsonnet.
81 - Parsers can be configured just like with python's argparse, thus it has a
82 gentle learning curve.
84 - Several convenient types and action classes to ease common parsing use
86 (paths, comparison operators, json schemas, enums, regex strings, ...).
88 - Support for command line tab argument completion using [argcomplete
96 You can install using [pip] as:
100 pip install jsonargparse
102 By default the only dependency that jsonargparse installs is [PyYAML
103 ]. However, several optional features can be
104 enabled by specifying any of the following extras requires: signatures,
105 jsonschema, jsonnet, urls, argcomplete and reconplogger.
106 There is also the all extras require to enable all optional features.
107 Installing jsonargparse with extras require is as follows:
111 pip install "jsonargparse[signatures,urls]" # Enable signatures and
113 pip install "jsonargparse[all]" # Enable all optional
116 The following table references sections that describe optional features and
118 corresponding extras requires that enables them.
120 +-----------------------------+-------------+-------------+---------+------------+------------+
121 | | urls/fsspec | argcomplete | jsonnet |
122 jsonschema | signatures |
123 +-----------------------------+-------------+-------------+---------+------------+------------+
124 | `classes-methods-functions` | | | |
126 +-----------------------------+-------------+-------------+---------+------------+------------+
127 | `parsing-urls` | ✓ | | |
129 +-----------------------------+-------------+-------------+---------+------------+------------+
130 | `json-schemas` | | | | ✓
132 +-----------------------------+-------------+-------------+---------+------------+------------+
133 | `jsonnet-files` | | | ✓ |
138 4d2ed32e3e477940c8e142282865d81bb920175ab7f862351b3635a56c38c2b7 190375 jsonargparse-4.21.0-py3-none-any.whl