DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-media-type-version 0.2.1-1

Package Information

DescriptionExtract 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 package provides the Python 3.x media_type_version module.

MaintainerDebian Python Team <team+python@tracker.debian.org>
Changed ByPeter Pentchev <roam@debian.org>
Sponsorroam@ringlet.net
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/python-team/packages/media-type-version.git (browse)
Closes#1123724
Trackerhttps://tracker.debian.org/pkg/python-media-type-version
Uploaded1 month, 24 days ago

New Package Report

.changes
Version0.2.1-1
Changed-ByPeter Pentchev
Architectureall source
Distributionunstable
DateSat, 20 Dec 2025 20:54:23 +0200
Sourcepython-media-type-version
.dsc
Sectionpython
Priorityoptional
Componentmain
Package-Listpython3-media-type-version deb python optional arch=all
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: media-type-version
Upstream-Contact: Peter Pentchev <roam@ringlet.net>
Source: https://pypi.org/project/media-type-version/#files
License: BSD-2-clause

Files: *
Copyright: Copyright (c) Peter Pentchev <roam@ringlet.net>
License: BSD-2-clause

Files: debian/*
Copyright: Copyright (c) Peter Pentchev <roam@debian.org>
License: BSD-2-clause

License: BSD-2-clause
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:
  1. Redistributions of source code must retain the above copyright
     notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimer in the
     documentation and/or other materials provided with the distribution.
  .
  THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  SUCH DAMAGE.

Back to Dashboard | View all reviews for this package