primegenerators (pypi): A library of prime number generators and analyzers, that also has a command-line interface
Keywords: prime|numbers|generator|cli