Skip to main content

Privacy Policy

Last updated: May 12, 2026

CodeMentor AI (learnpython.academy) respects your privacy. This policy explains what data we collect, why, and how we protect it. The document is written with GDPR in mind.

1. What data we collect

  • Email — for registration, login, important notifications.
  • Hashed password — we never see your plaintext password.
  • Learning progress — completed lessons, code you wrote, XP.
  • Payment data — handled by Stripe. We do NOT have full card details.
  • Technical logs — IP, User-Agent, browser language, country — for security and UI language detection.

2. Why we collect it

  • To provide the service you paid for.
  • To remember where you left off.
  • To detect fraud, spam, and abuse.
  • To improve the product (aggregated metrics).

3. Who we share data with

We do NOT sell your data. We share minimally-necessary data with technical sub-processors:

  • Supabase — database, auth.
  • Vercel — hosting.
  • Stripe — payment processing.
  • Google (Gemini API) — AI tutor. Google (Gemini API) does NOT use your data to train models.

4. Your code and data in AI

When you ask the AI tutor, we send to Google (Gemini API): your question, current code, task text. We do NOT send your email or name. The server automatically redacts emails, phone numbers, and card numbers that you might accidentally paste into the editor or chat before the text reaches the AI. Even so, please don't paste personal data.

5. Cookies

Strictly necessary cookies only: auth session, selected language. No marketing or analytics cookies.

6. Your rights (GDPR)

  • Access — copy of all your data.
  • Correction — update inaccurate data.
  • Erasure — fully delete account (right to be forgotten).
  • Export — get your progress as JSON.

To exercise these rights — email support@learnpython.academy. We respond within 30 days.

7. Data retention

Data is kept while the account is active. After deletion — 30 days in backups, then permanently erased.

8. Children

The service is not intended for persons under 13. Persons 13-18 only with parental consent.

9. Changes to this policy

We will announce material changes via email at least 14 days in advance.

Privacy questions: support@learnpython.academy