MagicStack / MagicStack/uvloop
Attach uvloop to a running libuv event loop
Nobody has claimed this yet.
- Dominant language
- Cython
- Stars
- 11.9k
- Forks
- 616
- PR merge metrics
- No merged PRs in 30d
Description
I am interested in uvloop for the following use case:
- I have a C++ application running libuv, embedding a Python interpreter running in the main thread
- I would like to use asyncio in the Python interpreter so that it uses the libuv event loop at hand, and does not block the main application.
Does uvloop's provide means to **attach the Python wrapper to an existing libuv event loop**? If it is a simple addition, would you consider such a feature - or accept a contribution enabling this use case ? (pointers welcome on where to get started).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing uvloop's existing asyncio event-loop entry points and how the Python interpreter currently reaches libuv; the issue names no files or tests. Determine whether attaching to an externally running libuv loop is supported or what API design would be required, then document a concrete contribution path and completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100