Skip to content
New issue

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

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

Already on GitHub? # to your account

Provide asyncio implementation #54

Open
palazzem opened this issue Mar 29, 2020 · 1 comment
Open

Provide asyncio implementation #54

palazzem opened this issue Mar 29, 2020 · 1 comment

Comments

@palazzem
Copy link
Owner

Overview

In some cases (i.e. Home Assistant), it could be required/preferred to have the async version of the library.

At the time of writing, the library uses requests as a main dependency to retrieve data and further processing, even if not expensive, is not structured to be run in an asyncio context. This issue is a tracker for implementing the right solution to avoid code duplication.

Repository owner deleted a comment from nickbolero Jan 24, 2024
Repository owner deleted a comment from nickbolero Jan 24, 2024
Repository owner deleted a comment from nickbolero Jan 24, 2024
@palazzem
Copy link
Owner Author

Asyncio implementation can be easily achieved using https://www.python-httpx.org/ library. We should take it into consideration instead of using requests.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant