skillfed

adafruit-circuitpython-connectionmanager

A urllib3.poolmanager/urllib3.connectionpool-like library for managing sockets and connections

adafruit-circuitpython-connectionmanager v3.1.8 139.9K downloads/30d#11,284 on PyPI6
Permissive license MIT Active released

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-connectionmanager

uv

uv add adafruit-circuitpython-connectionmanager

poetry

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 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

Intended Audience :: DevelopersProgramming Language :: Python :: 3Topic :: Software Development :: Embedded SystemsTopic :: Software Development :: LibrariesTopic :: System :: Hardware

Tags

circuitpython socket connection poolingembedded device network managementcircuitpython http connection managerblinka socket poolmicropython connection handlingcircuitpython networking libraryembedded systems connection pool
circuitpythonembedded-systemsiot

More Libraries packages