Python library for CTF tasks