--- id: requestsexceptions version: "1.4.0" license: unclear license_treatment: permissive maintenance: abandoned --- # requestsexceptions — Import exceptions from potentially bundled packages in requests. License: permissive · Maintenance: abandoned · Downloads: 701.9K/mo ## What it is and what it does requestsexceptions is a thin compatibility shim for the requests library that abstracts away the location of exception classes. The requests library bundles urllib3, but some software distributions strip out that bundled copy. This makes it difficult to reliably catch or suppress urllib3 exceptions (like the "insecure platform warning") across different deployment environments. The package provides a single import path that works regardless of whether urllib3 is bundled inside requests or installed separately. It has no runtime dependencies and is a pure-Python module, making it lightweight to add to a project. However, it has been abandoned since early 2018 and receives no active maintenance, so it may not account for changes in how requests or urllib3 handle exceptions in modern versions. Use it for: - Suppress urllib3 insecure platform warnings consistently across different requests installations. - Write code that catches requests/urllib3 exceptions without knowing whether urllib3 is bundled. - Maintain compatibility in libraries that depend on requests across heterogeneous deployment environments. - Handle exception imports in projects where requests may be repackaged by distributions. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a compatibility layer to import exception classes from the requests library, handling cases where urllib3 is bundled or removed by software distributions. No. The package is abandoned (last release 2018-02-01) with no maintenance signal. While it solves a real distribution problem and has low install friction, the lack of active maintenance means it will not adapt to changes in requests or urllib3. For modern Python projects, verify whether the bundling issue it addresses still exists in your target environment before relying on it. ## Install pip install requestsexceptions uv add requestsexceptions poetry add requestsexceptions ## Installing requestsexceptions Before you install: Low install friction with a pure-Python wheel, but the package is abandoned—last release was 2018-02-01, over 3116 days ago. No active maintenance. License in practice: Licensed under Apache Software License (permissive), imposing no significant restrictions on use or redistribution. Quickstart: pip install requestsexceptions from requestsexceptions import ConnectionError try: # code that uses requests pass except ConnectionError: pass Verify before relying: - Whether the package still works correctly with modern versions of requests and urllib3 given its abandoned status. - Whether the bundling/unbundling problem it solves remains relevant in current Python distributions. ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 701.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags requests exceptions import, urllib3 exception handling, requests library compatibility, bundled urllib3 exceptions, requests exception wrapper, compatibility-shim, abandoned [View on SkillFed](https://skillfed.io/packages/requestsexceptions) · [View on PyPI](https://pypi.org/project/requestsexceptions/)