Is there a Python library to list primes?
<p>Is there a library function that can enumerate the prime numbers (in sequence) in Python?</p>

<p>I found this question <a href="http://stackoverflow.com/questions/2068372/fastest-way-to-list-all-primes-below-n-in-python">Fastest way to list all primes below N in python</a> but I want primes without limit (returned lazily, of course), and I'd rather use someone else's reliable library than roll my own algorithm. Everyone in the other question is arguing about algorithms, I'd be happy to do <code>import math; for n in math.primes:</code></p>
