Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The difference between Adafruit_IO_Python and Adafruit_CircuitPython_AdafruitIO are quite significant - Can they be made more similar? #155

Open
thejunglejim opened this issue Jun 24, 2024 · 1 comment

Comments

@thejunglejim
Copy link

The difference between Adafruit_IO_Python and Adafruit_CircuitPython_AdafruitIO are quite significant.

Is it not possible to make them more similar?

@tyeth
Copy link
Contributor

tyeth commented Jun 25, 2024

A very sensible suggestion!

Alternatively you may be unaware that you can run the circuitpython library using normal Python (CPython).
You just need to import requests instead of adafruit_requests and change the requests.Session() call, commenting out all the other unnecessary initialisation stuff, then the HTTP examples should work (I tested the group http example of the circuitpython library using normal python).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants