https://github.com/asciimoo/exrex Pure-python library that can generate all possible (or random) strings that match a given regex.

Might be useful to get mypy to [[unused exclude in mypy.ini|warn of useless parts of exclude in mypy.ini]]