barrust / mediawiki

MediaWiki API wrapper in python http://pymediawiki.readthedocs.io/en/latest/
MIT License
180 stars 29 forks source link

Is an async version planned? #111

Open StandingPadAnimations opened 3 years ago

StandingPadAnimations commented 3 years ago

It's a awesome library, but I think an async version would benefit a lot of people. Currently, to use it in a async program the run_in_executor loop is needed. Is an async version ever planned in the future?

barrust commented 2 years ago

I think an async version would be great. Unfortunately I do not have time at the moment to dedicate to converting it to async, but pull requests or any sort of help would be greatly appreciated!

EasternJournalist commented 1 year ago

I think an async version would be great. Unfortunately I do not have time at the moment to dedicate to converting it to async, but pull requests or any sort of help would be greatly appreciated!

It's really an awesome and convenient library, which I appreciate. But unfortunately I have high demands for concurrent requests. Therefore I implemented a low-level asynchronized wrapper for my own use https://github.com/EasternJournalist/wikiapi/blob/master/async_api.py. Maybe these experience helps. Is the async version still on the plan? If so, I wish to create a pull request and contribute an async version.

barrust commented 1 year ago

I would love an async version, but haven't had the time to get around to it. Any help or Pull Request would be appreciated!

StandingPadAnimations commented 1 year ago

2 years on from when I requested this, I think I might be able to start on an async version.