DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-aiointercept 0.1.5-1

Package Information

Descriptionmock HTTP request interceptor for aiohttp clients

This library registers expected HTTP requests and serves configured responses from a local test server. It can match requests by URL, HTTP method, or regular expression, then return status codes, headers, raw bodies, JSON payloads, reason phrases, or callback-generated responses.

Requests are received by the local server and recorded for later inspection. The recorded data includes method, normalized URL, headers, query parameters, and request body. Helpers are provided for checking whether particular requests were made.

The library can be used as a context manager, decorator, or pytest fixture. In its default mode, client code is pointed at the local server URL. It can also patch DNS resolution so configured external hostnames are directed to the local server, with optional passthrough rules for selected hosts or unmatched requests.

MaintainerHome Assistant Team <team+homeassistant@tracker.debian.org>
Changed ByEdward Betts <edward@4angle.com>
Sponsoredward@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/homeassistant-team/deps/python-aiointercept.git (browse)
Closes#1139281
Trackerhttps://tracker.debian.org/pkg/python-aiointercept
Uploaded3 hours ago

New Package Report

.changes
Version0.1.5-1
Changed-ByEdward Betts
Architectureall source
Distributionunstable
DateMon, 08 Jun 2026 09:23:49 +0100
Sourcepython-aiointercept
Changelog
python-aiointercept (0.1.5-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1139281)
.dsc
Package-Listpython3-aiointercept deb python optional arch=all
Sectionpython
Priorityoptional
Componentmain
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: aiointercept
Upstream-Contact: Pablo Estevez <pablo22estevez@gmail.com>
Source: https://github.com/Polandia94/aiointercept

Files: *
Copyright: 2025 Pablo Estevez
License: MIT

Files: debian/*
Copyright: 2026 Edward Betts <edward@4angle.com>
License: MIT


License: MIT
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation
 files (the "Software"), to deal in the Software without
 restriction, including without limitation the rights to use,
 copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the
 Software is furnished to do so, subject to the following
 conditions:
 .
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.

Back to Dashboard | View all reviews for this package