1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-voluptuous
7 SDESC[v11]= Python data validation library (3.11)
8 SDESC[v12]= Python data validation library (3.12)
9 HOMEPAGE= https://github.com/alecthomas/voluptuous
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/3e/21/0424844b889dccd8f1899f92f239d6eca5f4995f5c86baff094694140828
14 DISTFILE[1]= voluptuous-0.14.2-py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
24 DISTNAME= voluptuous-0.14.2.dist-info
28 [PY311].USES_ON= python:v11,wheel
30 [PY312].USES_ON= python:v12,wheel
32 [FILE:2653:descriptions/desc.single]
36 **What does this mean?** I do not have time to fix issues myself. The only
37 way fixes or new features will be added is by people submitting PRs.
39 **Current status:** Voluptuous is largely feature stable. There hasn't been
40 a need to add new features in a while, but there are some bugs that should
43 **Why?** I no longer use Voluptuous personally (in fact I no longer
44 regularly write Python code). Rather than leave the project in a limbo of
45 people filing issues and wondering why they're not being worked on, I
46 believe this notice will more clearly set expectations.
48 # Voluptuous is a Python data validation library
57 Voluptuous, *despite* the name, is a Python data validation library. It
58 is primarily intended for validating data coming into Python as JSON,
64 2. Support for complex data structures.
65 3. Provide useful error messages.
69 Voluptuous now has a mailing list! Send a mail to
70 [<voluptuous@librelist.com>] to subscribe. Instructions
73 You can also contact me directly via [email] or
76 To file a bug, create a [new issue] on GitHub with a short example of how
77 to replicate the issue.
81 The documentation is provided [here].
83 ## Contribution to Documentation
85 Documentation is built using `Sphinx`. You can install it by
87 pip install -r requirements.txt
89 For building `sphinx-apidoc` from scratch you need to set PYTHONPATH to
90 `voluptuous/voluptuous` repository.
92 The documentation is provided [here.]
98 ## Why use Voluptuous over another validation library?
100 **Validators are simple callables:**
101 No need to subclass anything, just use a function.
103 **Errors are simple exceptions:**
104 A validator can just `raise Invalid(msg)` and expect the user to get
107 **Schemas are basic Python data structures:**
108 Should your data be a dictionary of integer keys to strings?
109 `{int: str}` does what you expect. List of integers, floats or
110 strings? `[int, float, str]`.
112 **Designed from the ground up for validating more than just forms:**
113 Nested data structures are treated in the same way as any other
114 type. Need a list of dictionaries? `[{}]`
117 Types in the schema are checked as types. Values are compared as
118 values. Callables are called to validate. Simple.
120 ## Show me an example
122 Twitter's [user search API] accepts
127 'https://api.twitter.com/1.1/users/search.json?q=python&per_page=20&page=1'
130 To validate this we might use a schema like:
136 efc1dadc9ae32a30cc622602c1400a17b7bf8ee2770d64f70418144860739c3b 31160 voluptuous-0.14.2-py3-none-any.whl