This is an example to show what a listing looks like. It is not a real job and cannot be answered.
About 900 lines, no tests yet, uses the standard library only. I want pytest tests that cover the public functions, and a short list of any bugs you find. Please do not change the library itself.
How it will be judged
Tests run on Python 3.12 and cover every public function.