[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1123724: ITP: python-media-type-version -- extract the format version from a media type string



Package: wnpp
Severity: wishlist
Owner: Peter Pentchev <roam@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, Debian Python Team <team+python@tracker.debian.org>, roam@debian.org

* Package name    : python-media-type-version
  Version         : 0.2.1
  Upstream Contact: Peter Pentchev <roam@ringlet.net>
* URL             : https://devel.ringlet.net/devel/media-type-version/
* License         : BSD-2-Clause
  Programming Lang: Python
  Description     : extract the format version from a media type string


The `media-type-version` library is designed to be used as the first step in
parsing structured data, e.g. configuration files, serialized classes, etc.
The caller extracts the media type string (e.g. a JSON
`"mediaType": "..."` key) and passes it in for parsing. The caller then
decides what to do with the extracted version information - is this version
supported, what fields are expected to be there, should any
extraneous fields produce errors, and so on.

This is a dependency for the python-check-build package that I will also
file an ITP for shortly. I will maintain it within the Debian Python team.

Attachment: signature.asc
Description: PGP signature


Reply to: