[Python-ideas] Adding jsonschema to the standard library

Donald Stufft donald at stufft.io
Fri May 22 21:23:14 CEST 2015


> On May 22, 2015, at 3:08 PM, Ian Cordasco <graffatcolmingov at gmail.com> wrote:
> 
>> 
>> 1. PyPI is filled with multiple solutions to the same problem. This can be difficult to wade through for the experienced developer, never mind the novice.
> 
> That's not exactly true in every case. The only library that parses
> and emits YAML is PyYAML. It's both unmaintained, incomplete, and full
> of bugs. That said, it's the de facto standard and it's the only onw
> of its kind that I know of on PyPI. I would vehemently argue against
> its inclusion were it ever purposed.
> 
>> 2. You generally won't know about packages that don’t solve problems you’ve solved or are solving. Early on in my adoption of Python, there were a number of times where I just spent time digging through the standard library and was surprised by the offerings that I didn’t even know were a thing. Likewise with jsonschema, I wouldn’t have known it was a thing had a co-worker not introduced me to it a couple years ago.
> 
> Counter-point, once you know you want to use JSON Schema looking for
> implementations in python yields Julian's implementation first.


I think a future area of work is going to be on improving the ability for
people who don't know what they want to find out that they want something and
which thing they want on PyPI. I'm not entirely sure what this is going to look
like but I think it's an important problem. It's being solved for very specific
cases by starting to have the standard documentation explicitly call out these
defacto standards of the Python ecosystem where it makes sense. This of course
does not scale to every single problem domain or module on PyPI so we still
need a more general solution.

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150522/0184be2b/attachment.sig>


More information about the Python-ideas mailing list