PFE Assistant
Local-first, Bring-Your-Own-Key (BYOK) web application that aggregates PFE Books, ranks topics against your profile, builds an ATS-ready CV (80+ Resume Worded) tailored to each PFE topic, drafts emails & cover letters, and tracks every application.
No servers, no subscriptions, and your CV & API keys never leave your computer.
Key Features
- Onboarding Wizard & Profile/CV Studio: Import an existing CV PDF (AI-parsed) or build from scratch / load a sample CV, edit in English and/or French, and compile to an exact 1-page PDF via RenderCV + Typst (
pfeclassictheme). - Multi-Profile Switcher: Maintain isolated profiles (e.g., Data Science vs. Full-Stack, or separate users on one PC) with isolated match scores, application tracker, and uploaded documents.
- Built-in
pfebooks.comSync + Custom PDF Upload: Sync Tunisia 2026–2027 PFE Books automatically (or togglepfebooks.comoff in Settings and upload any company brochure PDF globally). - Dual Fit + Richness Scoring: Scores every subject on Profile Fit (0–100) and Topic Richness / Thesis Potential (0–100) against your career goals and dealbreakers, plus head-to-head topic comparisons.
- Truthful Staged CV Tailoring: Proposes keyword & bullet edits per target topic, flags any token missing from your master CV as
unverified, and enforces a 3-pass 1-page auto-fit so your CV never spills onto page 2. - Grounded Drafting & Browser-Native Send Handoff: Drafts concise plain-text emails + optional Typst cover letters, compiles your CV + cover letter + transcripts into a downloadable
.zipor individual PDFs, and opens prefilled Gmail Compose (authuseraware) or your desktop mail app (mailto:). - BYOK Multi-Provider Support: Works with Google Gemini (Recommended — free tier & native PDF reading), OpenRouter, OpenAI, Groq, Ollama (local/free), or any OpenAI-compatible endpoint.
Quick Start
Option 1: Install as a Python CLI (pipx / pip)
Requires Python 3.12+ (no Node.js, no LaTeX, no Chrome required).
pip install pfe-assistant
pfe-assistant
Upgrade anytime with pip install -U pfe-assistant (your local profiles, SQLite database, and settings stay intact).
Or from a local clone with bundled frontend:
python scripts/build_package.py
pip install .
pfe-assistant
Your browser opens automatically on http://127.0.0.1:8000. User data is stored in ~/.pfe-assistant/ (override with --data-dir or PFE_DATA_DIR).
Option 2: Run from Git Clone (start.bat / start.sh)
Requires Python 3.12+ and Node.js 20+ (only on first run to build the frontend bundle).
- Windows: Double-click
start.bat(or run.\start.batin PowerShell) - macOS / Linux:
chmod +x start.sh ./start.sh
Getting a Free Google Gemini API Key (BYOK)
Google Gemini is recommended because it reads PDF brochures natively (including scanned PDFs) and offers a free tier with no credit card required:
- Visit Google AI Studio — API Keys and sign in with your Google account.
- Click Create API key (create a new project if prompted).
- Copy the key (
AIza...) and paste it into the Onboarding Wizard or Settings & API Key page inside the app, then click Test Connection.
Prefer local/offline or another provider? Select Ollama, OpenRouter, OpenAI, or Groq from the Provider Preset dropdown in Settings.
Development Setup
Run backend and frontend with hot reload in two terminals:
# Terminal 1: Backend API
python -m venv .venv
# Windows: .venv\Scripts\activate | macOS/Linux: source .venv/bin/activate
pip install -r requirements.txt
uvicorn backend.app.main:app --reload --port 8000
# Terminal 2: Frontend Dev Server (proxies /api and /data to :8000)
cd frontend
npm install
npm run dev
Run tests (using an isolated temporary database):
python -m pytest backend/tests/ -v
License
Metadata
Release files for pfe-assistant 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pfe_assistant-0.2.0.tar.gz | 262.2 kB | Without provenance | Details for pfe_assistant-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pfe_assistant-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pfe_assistant-0.2.0-py3-none-any.whl |
Total release size: 518.0 kB
Release files / pfe_assistant-0.2.0.tar.gz
| Download URL | pfe_assistant-0.2.0.tar.gz |
|---|---|
| Size | 262.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99829ae524e345d51d3f9c7cb3fdf43ed7c7f4e3bdfa8958988028fb18fc363d
|
|
BLAKE2b-256 checksum How to use checksums |
eff85e8878df95243f7a7240f281b6f91e0d7570425e9f100fa46cbbb8f67622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pfe_assistant-0.2.0-py3-none-any.whl
| Download URL | pfe_assistant-0.2.0-py3-none-any.whl |
|---|---|
| Size | 255.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59b041421eb22c99cc17842c19dc4ebe568ac5950be944508e1b7f6ed943768a
|
|
BLAKE2b-256 checksum How to use checksums |
081fa5b603468d6f701f4e6b53af401af0803b9e8f38f155b89bb66c65f1b687
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for pfe-assistant 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.