Bracex is a brace expanding library (a la Bash) for Python. Brace expanding is used to generate arbitrary strings.