PyLings: Solve Exercises and Learn Python github.com · 17 points · 1 comments · ...
HN Best 200 @best
PyLings: Solve Exercises and Learn Python github.com · 17 points · 1 comments · HN thread
TL;DR PyLings is a GitHub project offering Python interview practice in the style of rustlings: 35 warm-up exercises plus 20 graded interview exercises from middle to staff level, targeting Python 3.14 with no dependencies. A runner command opens the next exercise and re-runs its tests on every save, with keys for hints, solutions, and listing. The article text itself was not available to read; the description comes from the repository README.
- Run with python3 -m pylings; it opens the next exercise and re-runs its tests each time the file is saved.
- Exercises are grouped by level: Warm-up (35 short fix-this tasks), Middle (01–06), Middle+ (07–10), Senior (11–17), and Staff (18–20).
- Topics include iterator utilities, an LRU cache, a retry decorator, a rate limiter, a circuit breaker, external sort, a worker pool, a generator-based event loop, a mini pydantic, and a DI container.
- Reference solutions live in solutions/ and can be checked with SOLUTIONS=1 python3 -m unittest discover -s tests.
- Each exercise ends with Discussion questions, and interview questions are collected in questions/middle.md and questions/senior.md.
- The project requires Python 3.14 and has no third-party dependencies.
Discussion The thread is very small, with a single comment. It is a neutral, curious question about whether AI was used to generate the exercise content, with the commenter stressing it is not an accusation and expressing interest in AI helping people learn rather than deskilling them. No replies or counterarguments appear.
- Asks whether AI generated the content (most): The only commenter wonders if AI wrote the exercises, framing it as curiosity rather than criticism, and hopes AI can be used to upskill people.