Find-primes

Latest version: v2.2.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

1.1.0

[![Downloads](https://static.pepy.tech/personalized-badge/find-primes?period=total&units=international_system&left_color=lightgrey&right_color=yellowgreen&left_text=Downloads)](https://pepy.tech/project/find-primes)

Find Primes is a library to find all kinds of primes.

**Install**
shell
pip install -U find-primes

**[Twin Primes](https://en.wikipedia.org/wiki/Twin_prime)**

A twin prime is a prime number that is either 2 less or 2 more than another prime number.

Example: Find all twin primes below 1000.
python
from find_primes import find_twins
print(find_twins(1000))


**[Palindrome Primes](https://en.wikipedia.org/wiki/Palindromic_prime)**

A palindrome prime is a prime number that is also a palindrome number.

Example: Find all palindrome primes below 1000.
python
from find_primes import find_palindromes
print(find_palindromes(1000))


**[Emirps](https://en.wikipedia.org/wiki/Emirp)**

An emirp is a prime number that results in a different prime when its decimal digits are reversed.

Example: Find all emirps below 1000.
python
from find_primes import find_reverse
print(find_reverse(1000))


**[Primes in Arithmetic Progression](https://en.wikipedia.org/wiki/Primes_in_arithmetic_progression)**

Primes in arithmetic progression are any sequence of at least three prime numbers that are consecutive terms in an arithmetic progression.

Example: Find all primes in arithmetic progression below 1000.
python
from find_primes import find_arithmetic_prime_progressions
print(find_arithmetic_prime_progressions(100))


**[Mersenne Primes](https://en.wikipedia.org/wiki/Mersenne_prime)**

A mersenne prime is a prime number that is one less than a power of two.

Example: Find all mersenne primes below 600000.
python
from find_primes import find_mersenne_primes
print(find_mersenne_primes(600000))

1.0.0.post1

[![Downloads](https://static.pepy.tech/personalized-badge/find-primes?period=total&units=international_system&left_color=lightgrey&right_color=yellowgreen&left_text=Downloads)](https://pepy.tech/project/find-primes)

Find Primes is a library to find all kinds of primes.

**Install**
shell
pip install -U find-primes

**[Twin Primes](https://en.wikipedia.org/wiki/Twin_prime)**

A twin prime is a prime number that is either 2 less or 2 more than another prime number.

Example: Find all twin primes below 1000.
python
from find_primes import find_twins
print(find_twins(1000))


**[Palindrome Primes](https://en.wikipedia.org/wiki/Palindromic_prime)**

A palindrome prime is a prime number that is also a palindrome number.

Example: Find all palindrome primes below 1000.
python
from find_primes import find_palindromes
print(find_palindromes(1000))


**[Emirps](https://en.wikipedia.org/wiki/Emirp)**

An emirp is a prime number that results in a different prime when its decimal digits are reversed.

Example: Find all emirps below 1000.
python
from find_primes import find_reverse
print(find_reverse(1000))


**[Primes in Arithmetic Progression](https://en.wikipedia.org/wiki/Primes_in_arithmetic_progression)**

Primes in arithmetic progression are any sequence of at least three prime numbers that are consecutive terms in an arithmetic progression.

Example: Find all primes in arithmetic progression below 1000.
python
from find_primes import find_arithmetic_prime_progressions
print(find_arithmetic_prime_progressions(100))

1.0.0

[![Downloads](https://static.pepy.tech/personalized-badge/find-primes?period=total&units=international_system&left_color=lightgrey&right_color=yellowgreen&left_text=Downloads)](https://pepy.tech/project/find-primes)

Find Primes is a library to find all kinds of primes.

**Install**
shell
pip install -U find-primes

**[Twin Primes](https://en.wikipedia.org/wiki/Twin_prime)**

A twin prime is a prime number that is either 2 less or 2 more than another prime number.

Example: Find all twin primes below 1000.
python
from find_primes import find_twins
print(find_twins(1000))


**[Palindrome Primes](https://en.wikipedia.org/wiki/Palindromic_prime)**

A palindrome prime is a prime number that is also a palindrome number.

Example: Find all palindrome primes below 1000.
python
from find_primes import find_palindromes
print(find_palindromes(1000))


**[Emirps](https://en.wikipedia.org/wiki/Emirp)**

An emirp is a prime number that results in a different prime when its decimal digits are reversed.

Example: Find all emirps below 1000.
python
from find_primes import find_reverse
print(find_reverse(1000))


**[Primes in Arithmetic Progression](https://en.wikipedia.org/wiki/Primes_in_arithmetic_progression)**

Primes in arithmetic progression are any sequence of at least three prime numbers that are consecutive terms in an arithmetic progression.

Example: Find all primes in arithmetic progression below 1000.
python
from find_primes import find_arithmetic_prime_progressions
print(find_arithmetic_prime_progressions(100))

1.0.0rc1

[![Downloads](https://static.pepy.tech/personalized-badge/find-primes?period=total&units=international_system&left_color=lightgrey&right_color=yellowgreen&left_text=Downloads)](https://pepy.tech/project/find-primes)

Find Primes is a library to find all kinds of primes.

**Install**
shell
pip install -U find-primes

**[Twin Primes](https://en.wikipedia.org/wiki/Twin_prime)**

A twin prime is a prime number that is either 2 less or 2 more than another prime number.

Example: Find all twin primes below 1000.
python
from find_primes import find_twins
print(find_twins(1000))


**[Palindrome Primes](https://en.wikipedia.org/wiki/Palindromic_prime)**

A palindrome prime is a prime number that is also a palindrome number.

Example: Find all palindrome primes below 1000.
python
from find_primes import find_palindromes
print(find_palindromes(1000))


**[Emirps](https://en.wikipedia.org/wiki/Emirp)**

An emirp is a prime number that results in a different prime when its decimal digits are reversed.

Example: Find all emirps below 1000.
python
from find_primes import find_reverse
print(find_reverse(1000))


**[Primes in Arithmetic Progression](https://en.wikipedia.org/wiki/Primes_in_arithmetic_progression)**

Primes in arithmetic progression are any sequence of at least three prime numbers that are consecutive terms in an arithmetic progression.

Example: Find all primes in arithmetic progression below 1000.
python
from find_primes import find_arithmetic_prime_progressions
print(find_arithmetic_prime_progressions(100))

1.0.0b1

[![Downloads](https://static.pepy.tech/personalized-badge/find-primes?period=total&units=international_system&left_color=lightgrey&right_color=yellowgreen&left_text=Downloads)](https://pepy.tech/project/find-primes)

Find Primes is a library to find all kinds of primes.

**Install**
shell
pip install -U find-primes

**[Twin Primes](https://en.wikipedia.org/wiki/Twin_prime)**

A twin prime is a prime number that is either 2 less or 2 more than another prime number.

Example: Find all twin primes below 1000.
python
from find_primes import find_twins
print(find_twins(1000))


**[Palindrome Primes](https://en.wikipedia.org/wiki/Palindromic_prime)**

A palindrome prime is a prime number that is also a palindrome number.

Example: Find all palindrome primes below 1000.
python
from find_primes import find_palindromes
print(find_palindromes(1000))


**[Emirps](https://en.wikipedia.org/wiki/Emirp)**

An emirp is a prime number that results in a different prime when its decimal digits are reversed.

Example: Find all emirps below 1000.
python
from find_primes import find_reverse
print(find_reverse(1000))


**[Primes in Arithmetic Progression](https://en.wikipedia.org/wiki/Primes_in_arithmetic_progression)**

Primes in arithmetic progression are any sequence of at least three prime numbers that are consecutive terms in an arithmetic progression.

Example: Find all primes in arithmetic progression below 1000.
python
from find_primes import find_arithmetic_prime_progressions
print(find_arithmetic_prime_progressions(100))

Page 4 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.