adafruit-circuitpython-connectionmanager
A urllib3.poolmanager/urllib3.connectionpool-like library for managing sockets and connections
What it is and what it does
This library provides a urllib3-like interface for managing sockets and connections on CircuitPython devices and compatible embedded systems. It abstracts away low-level socket handling and connection pooling, making it easier to build networked applications on resource-constrained hardware. The library is designed to be used internally by higher-level Adafruit libraries like Requests and MiniMQTT, but can also be imported directly for custom networking tasks.
The package depends on Adafruit-Blinka, which provides a compatibility layer between CircuitPython and standard Python environments. Installation is straightforward on GNU/Linux systems like the Raspberry Pi, and the library can also be deployed directly to CircuitPython devices using the circup tool. The codebase is actively maintained with no known security vulnerabilities.
Use it for:
- Building HTTP client applications on CircuitPython microcontroller boards that need pooled connection reuse.
- Implementing MQTT clients on embedded devices where connection management overhead must be minimized.
- Creating custom network protocols on Raspberry Pi or similar boards using CircuitPython's socket abstraction.
- Developing IoT applications that require reliable socket lifecycle management across multiple requests.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages sockets and connections for CircuitPython devices using a urllib3-like interface, handling pooling and lifecycle for embedded network communication.
Yes, if you are developing for CircuitPython or using Adafruit-Blinka on embedded systems. The library is actively maintained, has no known vulnerabilities, and provides essential connection pooling for resource-constrained devices. Install it as a dependency when using Adafruit_CircuitPython_Requests or MiniMQTT, or directly if you need custom socket management on embedded hardware.
Install
adafruit-circuitpython-connectionmanager on PyPI
pip
pip install adafruit-circuitpython-connectionmanageruv
uv add adafruit-circuitpython-connectionmanagerpoetry
poetry add adafruit-circuitpython-connectionmanagerInstalling adafruit-circuitpython-connectionmanager
Before you install
Low friction install with a single runtime dependency on Adafruit-Blinka. Repository is actively maintained with recent commits and no known vulnerabilities.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open and closed projects.
Quickstart
pip3 install adafruit-circuitpython-connectionmanager
from adafruit_circuitpython_connectionmanager import ConnectionManager
import Adafruit_Blinka
# Used internally by Adafruit_CircuitPython_Requests and Adafruit_CircuitPython_MiniMQTT
Requires Adafruit-Blinka as a runtime dependency; intended primarily for CircuitPython devices or compatible embedded systems.
Verify before relying
- Specific Python version support (requires_python is unspecified in metadata)
- Whether the library can be used standalone or only as an internal dependency for other Adafruit libraries
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — Adafruit-Blinka |
| Maintenance | actively maintained — 113 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 139,905/month — #11,284 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: adafruit_circuitpython_connectionmanager-3.1.8-py3-none-any.whl
Keywords: adafruit, blinka, circuitpython, micropython, connectionmanager, sockets, networking
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
adafruit-circuitpython-requestsA requests-like HTTP library for CircuitPython…
permissive · top 15,000 on PyPI
adafruit-circuitpython-busdeviceProvides I2CDevice and SPIDevice helper classes…
permissive · top 15,000 on PyPI
adafruit-circuitpython-typingProvides type annotation definitions for…
permissive · top 15,000 on PyPI
Adafruit-BlinkaAdafruit-Blinka emulates CircuitPython APIs on…
permissive · top 15,000 on PyPI
clickhouse-poolProvides a thread-safe connection pool for…
copyleft · top 5,000 on PyPI
psycopg-poolProvides a connection pool for Psycopg 3,…
copyleft · top 1,000 on PyPI
django-db-connection-poolProvides connection pooling for Django database…
permissive · top 15,000 on PyPI
connection_poolProvides a thread-safe connection pool that…
permissive · top 15,000 on PyPI
psycopg2-poolManages a pool of reusable PostgreSQL…
copyleft · top 15,000 on PyPI
brainstemProvides Python bindings to control and…
unclear · top 15,000 on PyPI