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

Python: Remove dependency to requests #8

Open
tcalmant opened this issue Dec 11, 2014 · 0 comments
Open

Python: Remove dependency to requests #8

tcalmant opened this issue Dec 11, 2014 · 0 comments

Comments

@tcalmant
Copy link
Member

Requests is a good library, but its dependencies are problem when running on some interpreters or devices: six doesn't work "as is" with IronPython (it requires -X:Frames), requests requires the ssl module which isn't available on Arduino Yun, ...

It is necessary to replace requests by a homemade library:

  • v1: make a Session class with a post method that mimics requests
  • v2: implement a pool of connections to enhance performances
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant