Python put requests on a CIRCUITPY

I have a CIRCUITPY macro board 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.
It’s available storage space (including the required libraries already installed on it) 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?

>Solution :

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

Leave a Reply