Legal & Privacy
Privacy Policy
Last updated: November 28, 2026. A clear, transparent breakdown of how your learning data is handled, protected, and removed.
Our privacy commitments
No Data Selling
We never sell, rent, monetize, or share your personal information or learning activity with advertisers or data brokers.
Client-Side Execution
Python scripts run locally inside your browser via WebAssembly. Unsaved code runs on an isolated origin and never touches our servers.
Optional Email
Register with just a unique username and password. An email address is entirely optional and never required to learn or earn certificates.
Section 01
Information We Collect
We only collect data necessary to maintain your account, track progress, and support your learning:
Account & Profile
- Unique username & industry-standard hashed passwords (PBKDF2).
- Optional display name, institution, and daily learning goal.
- Optional Google OAuth identity or email used strictly for sign-in/recovery.
Learning Progress & Records
- Completed lessons, streak counters, and achievements.
- Quiz answers and server-scored exam submissions, plus a spaced review schedule for questions you missed.
- Lab practice results you save (self-reported, they earn no XP).
- An XP history: one record per award (lesson, quiz or exam), with the season and course it counted toward.
- Season leaderboard standings: your season XP and, once a season closes, your final rank on each board.
- Cryptographically verified graduation certificates issued to your name.
Saved Files & Notes
- Python scripts saved from the Playground into PyLabs Cloud Drive.
- Personal markdown notes written alongside curriculum lessons.
- Explicitly uploaded project datasets and reference files within your 100 MiB allowance.
Security, Telemetry & Feedback
- Hashed security question answers and optional SMS phone number for account recovery.
- User-submitted feedback: message text, optional screenshot image, and device telemetry (OS, browser, screen resolution, viewport, IP, and page URL) retained for 30 days solely for debugging.
- Display & accessibility preferences: text zoom level (global and per-page) stored in local browser storage and synced to your profile.
- Anonymous 7-day aggregate runtime crash counters (excludes learner code and stacks).
Section 02
How We Execute Your Python Code
Complete isolation between code execution and your account credentials:
Local Execution, Explicit Persistence
- 1. Sandboxed Worker
Code runs in a disposable Web Worker inside an independent runner origin iframe. It cannot access your session cookies or tokens.
- 2. Zero Server Execution
PyLabs never executes student Python scripts on application backend servers, eliminating arbitrary execution telemetry.
- 3. Explicit Saving
Running code alone does not transmit it. Code is only uploaded when you explicitly click Save or submit a practice challenge.
Section 03
Infrastructure & Data Storage Security
Built on modern, serverless edge infrastructure with strict encryption:
Cloudflare D1 Database
Encrypted SQLite database engine storing relational progress, quiz attempts, and user credentials with strict parameterized query boundaries.
Cloudflare R2 Storage
Private, S3-compatible encrypted object storage for Cloud Drive scripts and files. Downloads require authenticated authorization checks.
Encrypted in Transit
All production traffic requires HTTPS with modern TLS cipher suites. Client-forwarded IP headers are not trusted; Cloudflare supplies the connecting IP used for rate limits.
Section 05
Your Data Rights & Self-Service Erasure
You retain complete ownership over your files, personal notes, and account:
Export Anytime
Download your saved scripts and files from PyLabs Drive at any time, and read every lesson note on your Notes page.
Manage Identity
Update your display name, security questions, or linked Google sign-in at any time in Account Settings. To change your username, contact the operator.
Self-Service Deletion
Delete your account in Account Settings with recent authentication. Permanently erases your profile, progress, XP history, season standings, certs, and queues files for R2 purge.
Section 06
Data Retention & Recovery Lifecycle
Automated lifecycle jobs ensure stale data is continuously expunged:
30-Day Feedback Purge
Hourly SweeperUser feedback submissions and attached screenshots are automatically deleted after 30 days by a scheduled background sweeper. Account-linked feedback is purged immediately upon account deletion.
7-Day Diagnostic Window
AnonymizedRuntime failure event logs contain only anonymous release IDs and error types (no user code, inputs, or URLs) and automatically expire after 7 days.
Active Learning Records
Duration of AccountProgress records, your XP history, and certificates remain intact while your account is active. Public verification records show only recipient name, course, issue date, and hash.
Season Final Standings
Duration of AccountWhen a season ends, its final standings are archived with your account ID, rank, and season XP only, never your name. Names come from your current profile, so a rename, an exclusion, or account deletion also applies to past seasons. Deleting your account removes your archived rows; other learners keep their original ranks.
Leaderboard Visibility
Public BoardsSeason and all-time leaderboards are public, including to visitors who are not signed in, and show your display name, XP, and rank. Season badges are shown from the archived standings. You can ask the operator (section 8) to exclude your account from every board, current and past.
Backup Retention
Isolated ArchiveDatabase recovery snapshots expire under deployment retention policies. When a database restore is rehearsed, user erasure records are reapplied before making any restored database live.
Section 07
Providers & Age Eligibility
Our trusted infrastructure processors and learner age requirements:
Infrastructure Providers
- Cloudflare: Edge Workers, D1 database, R2 file storage, static assets, and optional cookieless Web Analytics (performance beacon only, no advertising identifiers).
- Google OAuth (Optional): Only when you choose to connect Google sign-in.
- SMS Gateway (Optional): Receives phone numbers solely to transmit password reset OTPs.
- WhatsApp Support: Directly handles learner inquiries when initiated.
Supported Learner Ages
- Adults (18+): Full self-service account registration.
- Teens (13–17): Permitted with appropriate parent or guardian authorization.
- Under 13: Accounts for children under 13 are not supported; we do not provide verified parental consent workflows.
- Schools & Institutions: Must contact the platform operator prior to uploading student rosters.
Section 08
Contact & Privacy Requests
Have questions or need assistance with your data? Reach out directly:
Contact Mahadi Hasan, the platform administrator, through WhatsApp Support. This support channel remains available after you delete your account. You can also use the feedback widget while using the site. Send a brief description of your request; never send passwords, SMS codes or identity documents through feedback. Support will explain any identity verification needed through an appropriate channel.