Hacker GitHub

← All repos

Tygs/ayo

View on GitHub ↗ ★ 30 Python archived

High level API for asyncio that integrates well with non ayo code

9 mentions on Hacker News by 3 people: 0 stories, 9 comments · first 2018-07-15 · latest 2020-05-25

Mentions per year 9 mentions · busiest year 2018 (4)
20082026
  1. …- Hopefully, this will help lift the curse of asyncio :) [EDIT] A library is also available - https://github.com/Tygs/ayo (with amazing operator overload) async def main(): async with Nursery() as ny: ny.start_soon(a_1(), a_2(), ...,…
  2. …enforce it for dependancies due to ensure_future(). See ayo for a very rougth draft of the idea: https://github.com/Tygs/ayo
    comment by BiteCode_dev · 2020-03-17 · in Timeouts and cancellation for humans (2018)
  3. You can code your own wrapper for this. Like https://github.com/Tygs/ayo It's not as good as having it in the stdlib, because people can still call ensure_future and not await it, but it's a huge improvement and completly compatible with…
    comment by sametmax · 2019-07-17 · in What's Coming in Python 3.8
  4. …the stdlib a year later. Meanwhile, I noted that a simple wrapper does meet the Pareto requirement: https://github.com/Tygs/ayo/ You can see it's not really hard to write your own version of it if you need to. It helped me a lot: the code…
  5. Thank you. Yes, please give me an example on a few functions from: https://github.com/Tygs/ayo/blob/master/ayo/scope.py
    comment by sametmax · 2019-01-29 · in The Day I Fell in Love with Fuzzing
  6. …don't feel like writing a wrapper, I'll plug in the one I'm working on in case people are curious: https://github.com/Tygs/ayo It: - is based on asyncio. Not a new framework. Integrated transparently with normal asyncio. - implement some…
    comment by sametmax · 2018-08-08 · in The magic of asyncio explained
  7. …with twisted, tornado and gevent before. So I'm working on syntaxic sugar on top of asyncio: https://github.com/Tygs/ayo The goal is to make the API clean, easy to use, and that enforced the best practices, but stay 100% compatible with…
    comment by sametmax · 2018-08-08 · in The magic of asyncio explained
  8. …Of course it's getting old pretty fast, so you may want to write some abstraction layer such as https://github.com/Tygs/ayo . But I wouldn't use this one in production just yet.
    comment by sametmax · 2018-08-08 · in The magic of asyncio explained
  9. …situation where libs are considered so low level you end up writing wrappers on top of it (e.g: https://github.com/Tygs/ayo ) just to be able to start using it sanely. Now compare with JS. I'm really not a fan of the language. However,…
    comment by sametmax · 2018-07-15 · in Async and Await in Rust: a full proposal