skillfed

adafruit-circuitpython-requests

A requests-like library for web interfacing

adafruit-circuitpython-requests v4.1.17 147.0K downloads/30d#11,086 on PyPI49
Permissive license MIT Active released

What it is and what it does

This package brings a familiar requests-like interface to CircuitPython and microcontroller environments, letting you make HTTP calls from embedded boards and Raspberry Pi systems running Adafruit Blinka. It wraps the lower-level CircuitPython ConnectionManager to provide a simpler, more intuitive API for web requests—similar to the standard Python requests library but tailored for resource-constrained embedded hardware.

The library is designed as part of the Adafruit CircuitPython ecosystem and integrates with Blinka to run on GNU/Linux systems like Raspberry Pi as well as native CircuitPython boards. It handles the networking plumbing so you can focus on making HTTP calls without wrestling with socket-level code on embedded platforms.

Use it for:

  • Fetch data from a REST API on a Raspberry Pi or CircuitPython board for IoT sensor projects.
  • Send telemetry or logs from an embedded device to a cloud service or local server.
  • Build a microcontroller-based web scraper or data collector that polls remote endpoints.
  • Integrate CircuitPython hardware with web-based services or webhooks.
  • Prototype IoT applications on Adafruit boards without writing low-level socket code.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A requests-like HTTP library for CircuitPython and microcontroller environments, enabling web requests on embedded systems running Adafruit Blinka or CircuitPython.

Yes, if you are developing for CircuitPython or Adafruit Blinka on Raspberry Pi and need HTTP client functionality. The library is actively maintained, has no known vulnerabilities, and low install friction. Not applicable for standard Python applications—use the standard requests library instead.

Install

adafruit-circuitpython-requests on PyPI

pip

pip install adafruit-circuitpython-requests

uv

uv add adafruit-circuitpython-requests

poetry

poetry add adafruit-circuitpython-requests

Installing adafruit-circuitpython-requests

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained as of April 2026, with recent commits and no archived status. Two straightforward runtime dependencies (Adafruit-Blinka and Adafruit-Circuitpython-ConnectionManager) that are standard in the CircuitPython ecosystem.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip3 install adafruit-circuitpython-requests

import adafruit_circuitpython_requests as requests
response = requests.get('http://example.com')

Requires CircuitPython or a compatible environment (Adafruit Blinka on Linux/Raspberry Pi); not for standard CPython use.

Verify before relying

  • Specific HTTP methods and features supported beyond basic GET/POST (fact sheet mentions 'requests-like' but does not detail API surface).
  • Whether this works on all CircuitPython boards or only specific hardware (fact sheet does not specify supported boards).
  • Performance characteristics or request size limits for embedded systems (not documented in excerpt).

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — Adafruit-Blinka, Adafruit-Circuitpython-ConnectionManager
Maintenance actively maintained — 113 days since the last release
Last repo commit
First released
Downloads 146,966/month — #11,086 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: adafruit_circuitpython_requests-4.1.17-py3-none-any.whl

Keywords: adafruit, blinka, circuitpython, micropython, requests, requests, networking

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

Tags

circuitpython http requestsembedded http clientmicrocontroller web requestsadafruit blinka networkingcircuitpython web apiraspberry pi http libraryiot http client
circuitpythonembedded-systemsiot

More Libraries packages

urllib3

urllib3 is an HTTP client library that provides…

permissive · top 100 on PyPI

requests

Requests is a Python HTTP library that…

permissive · top 100 on PyPI

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

python-dateutil

Provides parsing, arithmetic, and recurrence…

permissive · top 100 on PyPI

six

Six provides utility functions to write Python…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

Adafruit-Blinka

Adafruit-Blinka emulates CircuitPython APIs on…

permissive · top 15,000 on PyPI

adafruit-circuitpython-busdevice

Provides I2CDevice and SPIDevice helper classes…

permissive · top 15,000 on PyPI

adafruit-circuitpython-connectionmanager

Manages sockets and connections for…

permissive · top 15,000 on PyPI

adafruit-circuitpython-typing

Provides type annotation definitions for…

permissive · top 15,000 on PyPI

Adafruit-PlatformDetect

Detects the chip and board type of single-board…

permissive · top 15,000 on PyPI

gpiozero

gpiozero provides a high-level Python interface…

permissive · top 15,000 on PyPI

pigpio

Provides Python access to the pigpio daemon for…

permissive · top 15,000 on PyPI

Adafruit-PureIO

Provides pure Python access to Linux I2C and…

permissive · top 15,000 on PyPI

pyocd

pyOCD is a Python-based debugger and programmer…

permissive · top 5,000 on PyPI

asyncua

asyncua is an asyncio-based OPC UA client and…

copyleft · top 15,000 on PyPI