--- id: adafruit-circuitpython-connectionmanager version: "3.1.8" license: MIT license_treatment: permissive maintenance: active --- # adafruit-circuitpython-connectionmanager — A urllib3.poolmanager/urllib3.connectionpool-like library for managing sockets and connections License: permissive · Maintenance: active · Downloads: 139.9K/mo ## 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 above — 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 pip install adafruit-circuitpython-connectionmanager uv add adafruit-circuitpython-connectionmanager poetry add adafruit-circuitpython-connectionmanager ## Installing 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: unspecified - Install friction: low - Maintenance: active - Downloads: 139.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags circuitpython socket connection pooling, embedded device network management, circuitpython http connection manager, blinka socket pool, micropython connection handling, circuitpython networking library, embedded systems connection pool, circuitpython, embedded-systems, iot [View on SkillFed](https://skillfed.io/packages/adafruit-circuitpython-connectionmanager) · [View on PyPI](https://pypi.org/project/adafruit-circuitpython-connectionmanager/)