urllib3-secure-extra
Marker library to detect whether urllib3 was installed with the deprecated [secure] extra
What it is and what it does
urllib3-secure-extra is a minimal marker library designed to help detect whether urllib3 was installed with the now-deprecated [secure] extra. It exists to support conditional dependency resolution during a transition period when urllib3 was phasing out that extra. The package has no runtime dependencies and installs as a pure Python wheel.
This is a narrow-purpose tool created to bridge a specific compatibility gap in urllib3's dependency ecosystem. It was released on 2022-08-01 and has not been updated since, reflecting that it was meant as a temporary solution for a known deprecation rather than an ongoing library.
Use it for:
- Detect in setup.py or pyproject.toml whether urllib3 was installed with [secure] to conditionally require additional packages
- Maintain backward compatibility in projects that depend on urllib3's [secure] extra during its deprecation period
- Conditional marker expressions in dependency specifications to handle urllib3 installation variants
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Detects whether urllib3 was installed with the deprecated [secure] extra, providing a marker library for conditional dependency resolution.
No. The package is abandoned and was always a temporary bridge for a specific urllib3 deprecation. Unless you are maintaining legacy code that explicitly depends on detecting the [secure] extra, this library is no longer needed. Check urllib3's current documentation to understand how it now handles secure dependencies.
Install
urllib3-secure-extra on PyPI
pip
pip install urllib3-secure-extrauv
uv add urllib3-secure-extrapoetry
poetry add urllib3-secure-extraInstalling urllib3-secure-extra
Before you install
Low install friction with no runtime dependencies, but the package is abandoned as of 2022-08-17 with no maintenance activity since its single release.
License in practice
MIT license permits use, modification, and distribution with minimal restrictions, making it safe to include in most projects.
Quickstart
pip install urllib3-secure-extra
import urllib3_secure_extra
Verify before relying
- Whether this marker library is still needed given urllib3's current handling of the [secure] extra deprecation
- Compatibility with modern urllib3 versions and Python versions released after 2022
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 1,474 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,106,698/month — #2,751 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: urllib3_secure_extra-0.1.0-py2.py3-none-any.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
urllib3-futureHTTP client library supporting HTTP/1.1,…
permissive · top 5,000 on PyPI
rootpathDetects a Python project or package root…
permissive · top 15,000 on PyPI
requestsexceptionsProvides a compatibility layer to import…
permissive · top 15,000 on PyPI
setuptools-downloadA setuptools plugin that downloads external…
permissive · top 5,000 on PyPI
types-urllib3Provides type stubs for urllib3 to enable…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-urllib3Automatically captures and traces HTTP requests…
permissive · top 1,000 on PyPI
urllib3-mockMocks urllib3 HTTP requests in tests by…
permissive · top 15,000 on PyPI
safetySafety CLI scans Python project dependencies…
permissive · top 5,000 on PyPI
extrasProvides three utility functions—try_import,…
permissive · top 15,000 on PyPI