BSD Ports

net/py-urllib3 1.26.20,1 DragonFly

HTTP library with thread-safe connection pooling, file post, and more

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
net, python
Package size
227.5 KiB, 1363.2 KiB installed

Description

urllib3 is a powerful, sanity-friendly HTTP client for Python. Much of the Python ecosystem already uses urllib3 and you should too. urllib3 brings many critical features that are missing from the Python standard libraries:

  • Thread safety.
  • Connection pooling.
  • Client-side SSL/TLS verification.
  • File uploads with multipart encoding.
  • Helpers for retrying requests and dealing with HTTP redirects.
  • Support for gzip and deflate encoding.
  • Proxy support for HTTP and SOCKS.
  • 100%25 test coverage.

In the other systems

The newest version among them is 2.8.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet/py-urllib31.26.20,1 behind since 2026-09-20none known-[email protected]-
FreeBSDnet/py-urllib32.8.0,1 newestnone known-[email protected]2026-09-20
NetBSDwww/py-urllib3 by name2.7.0 behind since 2026-09-20none known-[email protected]2026-09-22
MidnightBSDnet/py-urllib32.8.0,1 newestno data-[email protected]2026-09-30
HardenedBSDnet/py-urllib32.8.0,1 newestno data-[email protected]-
GhostBSDnet/py-urllib32.8.0,1 newestno data-[email protected]-
OPNsensenet/py-urllib32.7.0,1 behind since 2026-09-20no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-urllib3

From DPorts:

cd /usr/dports/net/py-urllib3 && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none

Message after installing

Since version 1.25 HTTPS connections are now verified by default which is done
via "cert_reqs = 'CERT_REQUIRED'".  While certificate verification can be
disabled via "cert_reqs = 'CERT_NONE'", it's highly recommended to leave it on.

Various consumers of net/py-urllib3 already have implemented routines that
either explicitly enable or disable HTTPS certificate verification (e.g. via
configuration settings, CLI arguments, etc.).

Yet it may happen that there are still some consumers which don't explicitly
enable/disable certificate verification for HTTPS connections which could then
lead to errors (as is often the case with self-signed certificates).

In case of an error one should try first to temporarily disable certificate
verification of the problematic urllib3 consumer to see if that approach will
remedy the issue.