Privacy policy

In short: the site has no database of its own. Messages sent through the form are published on GitHub and visible to everyone, and the hosting records visitors' IP addresses. The separate version with an account has a server, and what it stores is described below.

Who is responsible for the site

PyWeb Guide is a learning project. Author: E. Zhanguzhin You can contact him through the Issues section on GitHub; messages there are public, so do not include personal data in them. Without a GitHub account you can write directly: only the author sees such a message.

What is stored in your browser

The site uses localStorage, your browser's storage. These records are not sent to the server, and the author cannot see them:

  • pyweb_messages — copies of messages from the form on the “Contact” page;
  • pyweb_progress — the learning steps you ticked;
  • pyweb_theme — the chosen colour theme;
  • pyweb_tasks and pyweb_task_* — solved exercises and solution drafts;
  • pyweb_playground — your code draft in the sandbox;
  • pyweb_exam — your best final test result;
  • pyweb_os — which system (Windows or macOS and Linux) you chose in the command tabs.

The “Clear saved messages” button on the “Contact” page deletes the messages. Everything else, including the cache, is deleted by clearing this site's data in your browser settings.

In addition, the browser keeps copies of pages, styles, scripts and Python files in its cache (Cache Storage) so the site opens faster and without the internet. These are ordinary site files with none of your data in them.

The progress file from the “My progress” page is created right in the browser and contains only your marks. The name for the certificate is not stored: the printable sheet is assembled in the browser and not sent anywhere.

What happens when you send the form

The form opens the page for creating an entry in GitHub Issues with your name and text. Nothing is published until you confirm it on GitHub. After that the message and your GitHub profile are visible to everyone, and GitHub handles them under its own rules.

What the hosting records

The site is hosted on GitHub Pages. According to GitHub, the visitor's IP address is logged and stored for security purposes. Source: GitHub Pages help; details are in the GitHub privacy statement.

Version with an account

You can also take the course in a separate version with an account at pywebguide.pythonanywhere.com. An account is only needed to carry your progress between devices: the course works the same without it. This version stores on its server:

  • your username and password, if you signed up. The password is stored only as a hash, and nobody can read it, including the author;
  • your progress: completed steps, solved exercises and your best final test score. They are saved only while you are logged in;
  • messages from the form on the Contact page: name, text, date and your account, if you are logged in. Only the author sees them; they are never published;
  • failed login attempts: username, IP address and browser. This protects against password guessing: after five mistakes, login is blocked for an hour, and a successful login resets the counter. Successful logins are not recorded.

To limit the number of messages from the form, the server remembers for one hour how many came from your IP address. This number is kept only in the server's memory, not in the database.

This version sets two technical cookies: sessionid to remember your login (for up to two weeks) and csrftoken to protect forms from forgery. There are no advertising or tracking cookies.

The server is hosted on PythonAnywhere, whose servers are in the USA. Like any hosting, it records visitors' IP addresses and browsers in its logs.

To delete your account together with your progress, or to delete your messages, log in and say so through the form on the Contact page of this version. The author will delete the data.

Running Python in the browser

Only after you press a run or check button does the browser load Python (Pyodide) from jsDelivr, and for Flask examples also packages from PyPI. Like any website, these services receive your IP address and browser data. The code itself runs on your device and is not sent anywhere. The name for the certificate also stays in the browser and is not stored.

Cookies and visit statistics

The site sets no cookies and shows no ads. The technical cookies of the version with an account are described above.

To understand which pages are read and where people drop the course, the site counts visits with GoatCounter. It uses no cookies and does not recognise you on later visits. It records the address and title of the page you open, the site you came from, the country based on your IP address, the screen size, browser and operating system. The IP address itself is not stored. Details are in the GoatCounter policy.

The site counts learning events in the same way: a lesson or step is marked as done, code is run for the first time, an exercise is solved. They contain no names or answers, and the same details are sent as when a page is opened. To avoid counting an event twice, the list of events already sent is kept in your browser (key pyweb_events).

If Do Not Track or an ad blocker is on in your browser, the visit may not be counted, and the site works just the same.

Site search

Search runs in your browser: the index is loaded from this same site, and your queries are not sent anywhere.

External links

The site has links to documentation and other external resources. Once you follow them, those resources' rules apply.

Changes

If the policy changes, we will update this text and the date at the end of the page.

In effect since . Updated on : added a section about the version with an account.