Latest / Learning & reference

Micro event loop

gist.github.com · Open source · Online

Python event loop in about 250 lines of code

Visit gist.github.com ↗Share

  • event loop
  • python event loop
  • python coroutines
  • event loop example
  • learn async python
  • micro event loop
Found
21 months ago

This is a very small Python event loop, around 250 lines, shared as a gist. The post has no description beyond its title. It suits Python developers who want to read a compact example of how an event loop works.

Micro event loop library to teach the basic concepts of python coroutines and how event loop libraries might be implemented - micro_events.py

How gist.github.com describes itself

What it does

  • A Python event loop in about 250 lines of code
  • Teaches basic coroutine concepts in Python
  • Shows how event loop libraries can be implemented

Good for

  • Read a compact event loop to learn how coroutines are scheduled
  • Compare a tiny event loop with the one in a production library

Suits: Python developers learning how coroutines and event loops work.

What you can try

Open the gist and run the code with Python.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Micro event loop on , when tarruda posted it to Show HN. There is no first-party release record KipFound is allowed to read for this product, so that listing is the earliest dated evidence on file. KipFound does not guess a release date.

Day-7 and day-30 updates

Day 7 still online

  • Product link responded normally (HTTP 200).
  • Show HN discussion at check time: 59 points, 12 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 still online

  • Product link responded normally (HTTP 200).
  • Show HN discussion at check time: 59 points, 12 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Found: tarruda posted it to Show HN. Show HN
  2. Day-7 check recorded by Kip (details)
  3. Day-30 check recorded by Kip (details)

Quick answers

When was Micro event loop released?
No dated release record is available. Kip found it on Show HN on 28 Feb 2025.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
Product link checkgist.github.com

Stable ID hn-43200536. Summary written by KipFound’s editor.

Share

Similar tools

More in Learning & reference

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.