# Jev in 25 lines of Python

> A 25-line Python model that classifies emails as legitimate, spam, or phishing without sending data.
- Title: Jev in 25 lines of Python · NobodyWho | Shortify
- Summary: A 25-line Python model that classifies emails as legitimate, spam, or phishing without sending data. Jev uses local Python code to classify emails with…
- Keywords: jev, python, email, classification, local, nobodywho, technology, startups, lines
- Source: NobodyWho — https://nobodywho.ai/posts/jev-in-25-lines
- Author: Duarte O.Carmo
- Read time: 1 min
- Topics: jev, python, email, classification, local, nobodywho, technology, startups
## Jev's Python code
Jev is a 25-line Python model that classifies emails as legitimate, spam, or phishing without sending data.
## Load the model
Jev loads a Qwen3-0.6B-GGUF model from Hugging Face using llama-cpp-python.
## Define choices
Jev uses labels and choices to prompt email classification with legitimate, spam, or phishing options.
## Process email
Jev evaluates the email prompt to output probabilities for legitimate, spam, or phishing emails.
## Output probabilities
Jev shows probabilities: legitimate 0.031, spam 0.084, phishing 0.885.
## What Jev is
Jev is a local, fast model that classifies emails without sending data to external servers.
## Key takeaway

Jev uses local Python code to classify emails with probabilities without external data sharing.