Ravenports generated: 15 Nov 2023 00:12
[ravenports.git] / bucket_F4 / python-jsonschema
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-jsonschema
4 VERSION=                4.19.2
5 KEYWORDS=               python
6 VARIANTS=               v11 v12
7 SDESC[v11]=             Alternate implementation of JSON Schema (3.11)
8 SDESC[v12]=             Alternate implementation of JSON Schema (3.12)
9 HOMEPAGE=               https://github.com/python-jsonschema/jsonschema
10 CONTACT=                Python_Automaton[python@ironwolf.systems]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPIWHL/ce/aa/d1bd0b5ec568a903cc3ebcb6b096ab65c1d971c8a01ca3bf3cf788c3c646
14 DISTFILE[1]=            jsonschema-4.19.2-py3-none-any.whl:main
15 DF_INDEX=               1
16 SPKGS[v11]=             single
17 SPKGS[v12]=             single
18
19 OPTIONS_AVAILABLE=      PY311 PY312
20 OPTIONS_STANDARD=       none
21 VOPTS[v11]=             PY311=ON PY312=OFF
22 VOPTS[v12]=             PY311=OFF PY312=ON
23
24 DISTNAME=               jsonschema-4.19.2.dist-info
25
26 GENERATED=              yes
27
28 [PY311].RUN_DEPENDS_ON=                 python-attrs:single:v11
29                                         python-jsonschema-specifications:single:v11
30                                         python-referencing:single:v11
31                                         python-rpds-py:single:v11
32 [PY311].USES_ON=                        python:v11,wheel
33
34 [PY312].RUN_DEPENDS_ON=                 python-attrs:single:v12
35                                         python-jsonschema-specifications:single:v12
36                                         python-referencing:single:v12
37                                         python-rpds-py:single:v12
38 [PY312].USES_ON=                        python:v12,wheel
39
40 [FILE:2758:descriptions/desc.single]
41 ==========
42 jsonschema
43 ==========
44
45 |PyPI| |Pythons| |CI| |ReadTheDocs| |Precommit| |Zenodo|
46
47 jsonschema is an implementation of the [JSON Schema] specification for
48 Python.
49
50 .. code:: python
51
52     >>> from jsonschema import validate
53
54     >>> # A sample schema, like what we'd get from json.load()
55     >>> schema = {
56     ...     "type" : "object",
57     ...     "properties" : {
58     ...         "price" : {"type" : "number"},
59     ...         "name" : {"type" : "string"},
60     ...     },
61     ... }
62
63     >>> # If no exception is raised by validate(), the instance is valid.
64     >>> validate(instance={"name" : "Eggs", "price" : 34.99},
65 schema=schema)
66
67     >>> validate(
68     ...     instance={"name" : "Eggs", "price" : "Invalid"}, schema=schema,
69     ... )                                   # doctest:
70 +IGNORE_EXCEPTION_DETAIL
71     Traceback (most recent call last):
72         ...
73     ValidationError: 'Invalid' is not of type 'number'
74
75 It can also be used from the command line by installing `check-jsonschema
76 <https://github.com/python-jsonschema/check-jsonschema>`_.
77
78 Features
79 --------
80
81 * Full support for `Draft 2020-12
82 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft202012Validator>`_,
83 `Draft 2019-09
84 <https://python-jsonschema.readthedocs.io/en/latest/api/jsonschema/validators/#jsonschema.validators.Draft201909Validator>`_,
85 [Draft 7], [Draft 6], [Draft 4] and [Draft 3]
86
87 * [Lazy validation] that can iteratively report *all* validation errors.
88
89 * [Programmatic querying] of which properties or items failed validation.
90
91 Installation
92 ------------
93
94 jsonschema is available on [PyPI]. You can install using [pip]:
95
96 .. code:: bash
97
98     $ pip install jsonschema
99
100 Extras
101 ======
102
103 Two extras are available when installing the package, both currently
104 related to format validation:
105
106     * format
107     * ``format-nongpl``
108
109 They can be used when installing in order to include additional
110 dependencies, e.g.:
111
112 .. code:: bash
113
114     $ pip install jsonschema'[format]'
115
116 Be aware that the mere presence of these dependencies – or even the
117 specification of format checks in a schema – do *not* activate format
118 checks (as per the specification).
119 Please read the [format validation documentation] for further details.
120
121 About
122 -----
123
124 I'm Julian Berman.
125
126 jsonschema is on [GitHub].
127
128 Get in touch, via GitHub or otherwise, if you've got something to
129 contribute, it'd be most welcome!
130
131 You can also generally find me on Libera (nick: Julian) in various
132 channels, including ``#python``.
133
134 If you feel overwhelmingly grateful, you can also [sponsor me].
135
136 And for companies who appreciate jsonschema and its continued support and
137 growth, jsonschema is also now supportable via [TideLift].
138
139 Release Information
140 -------------------
141
142
143 [FILE:113:distinfo]
144 eee9e502c788e89cb166d4d37f43084e3b64ab405c795c03d343a4dbc2c810fc        83639 jsonschema-4.19.2-py3-none-any.whl
145