Skip to content
Advertisement

Python put requests on a CIRCUITPY

I have a CIRCUITPY macro board (keybow 2040) that I want to make automatically download a file, but I don’t have enough storage space on the board to put all the required libraries for the python requests module. The board’s available storage space is 866 KB, which is not nearly enough storage space for all the required modules to use requests.

Is there any smaller version of requests that can just get the content of an address?

Advertisement

Answer

It looks like CircuitPython has its own requests-like library, in the module adafruit_requests: https://docs.circuitpython.org/projects/requests/en/latest/index.html

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement