Course catalog

Python-бэкенд-разработчик

Карта профессии от основ Python и HTTP до сервиса с базой данных, проверкой доступа и воспроизводимым выпуском. На основном маршруте вы реализуете API книжной полки. Ветки по выбору охватывают кеширование, фоновые задания и асинхронный ввод-вывод.

Русский · About 2340 min

This version has no published translation in your interface language. Read it in the stated language or return to the catalog. Your selected version will not change automatically.

What you will learn

  • Разработать JSON API с проверкой ввода, прав доступа и тестами
  • Спроектировать реляционную схему и проверить миграцию в PostgreSQL
  • Упаковать Python-сервис и воспроизвести запуск с постоянным хранилищем
  • Проверить выпуск по журналу запросов и восстановить предыдущую версию

Before you start

  • Уметь создать текстовый файл и запустить команду в терминале

Before enrolling

Enrolling and saving your progress requires signing in with GitHub or Google. You will return to this description after signing in; signing in alone does not enroll you.

Go to sign in
Course roadmap

Arrows lead from a prerequisite to the skill that uses it. Dashed borders mark electives. Select a skill to go to its topic.

  1. 1. Python: типы, коллекции и функции
  2. 2. Git, окружение и зависимости
  3. 3. Сети, HTTP и JSON
  4. 4. Flask и маршрутизация
  5. 5. Асинхронный ввод-вывод
  6. 6. Проверка ввода и ошибки API
  7. 7. SQL, SQLite и транзакции
  8. 8. REST и идентификаторы ресурсов
  9. 9. PostgreSQL, связи и индексы
  10. 10. Docker и конфигурация
  11. 11. Логи, задержка и готовность
  12. 12. Фоновые задания и повтор
  13. 13. Автотесты HTTP API
  14. 14. Миграции схемы и резервная копия
  15. 15. Кеш и актуальность данных
  16. 16. Аутентификация и права доступа
  17. 17. CI и выпуск сервиса
Python: типы, коллекции и функции · Required topic Git, окружение и зависимости · Required topic Сети, HTTP и JSON · Required topic Flask и маршрутизация · Required topic Асинхронный ввод-вывод · Optional topic: does not affect course progress Проверка ввода и ошибки API · Required topic SQL, SQLite и транзакции · Required topic REST и идентификаторы ресурсов · Required topic PostgreSQL, связи и индексы · Required topic Docker и конфигурация · Required topic Логи, задержка и готовность · Required topic Фоновые задания и повтор · Optional topic: does not affect course progress Автотесты HTTP API · Required topic Миграции схемы и резервная копия · Required topic Кеш и актуальность данных · Optional topic: does not affect course progress Аутентификация и права доступа · Required topic CI и выпуск сервиса · Required topic

How to complete the course

Complete all required topics to finish the course. A topic requires structured notes, all its required assignments and completed prerequisites. Opening a resource does not count as completion.

  1. Python: типы, коллекции и функции

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Обработать коллекцию книг · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  2. Git, окружение и зависимости

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Воспроизвести окружение из Git · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  3. Сети, HTTP и JSON

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Прочитать два HTTP-ответа · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  4. Flask и маршрутизация

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Проверить контракт чтения коллекции · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  5. Проверка ввода и ошибки API

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Добавить книгу и отклонить неверное тело · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  6. SQL, SQLite и транзакции

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Заменить список файлом базы данных · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  7. REST и идентификаторы ресурсов

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Связать создание и чтение по id · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  8. Автотесты HTTP API

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Сдать API и воспроизводимые тесты · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: English

  9. Аутентификация и права доступа

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Проверить доступ читателя и редактора · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    • Права редактора и создание книги · Required to complete this topic · Russian

      Quiz: answers are checked against the assignment rules. The course description does not reveal closed answers.

    External resource languages: No additional links for this lesson

  10. PostgreSQL, связи и индексы

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Спроектировать каталог в PostgreSQL · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  11. Миграции схемы и резервная копия

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Обновить схему с уже существующими книгами · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  12. Docker и конфигурация

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Запустить сервис из образа · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: English

  13. Логи, задержка и готовность

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Отличить живой процесс от готового API · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  14. Кеш и актуальность данных

    Optional topic: does not affect course progress · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Проверить кеш чтения · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  15. Асинхронный ввод-вывод

    Optional topic: does not affect course progress · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Ограничить параллельное чтение · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  16. Фоновые задания и повтор

    Optional topic: does not affect course progress · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    • Сделать повторяемую выгрузку · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    External resource languages: No additional links for this lesson

  17. CI и выпуск сервиса

    Required topic · Russian

    Notes: explain the idea in your own words, give an example and list open questions (or state that there are none).

    Capstone project

    Собрать и проверить выпуск API

    Self-check is a separate source of evidence and does not award confirmed points. It does not replace code grading or mentor acceptance.

    How each part uses earlier topics

    1. Проверить права читателя и редактора

      Аутентификация и права доступа

    2. Выполнить тесты на изолированных данных

      Автотесты HTTP API

    3. Развернуть согласованную версию схемы

      Миграции схемы и резервная копия

    4. Поднять собранный сервис с постоянным хранилищем

      Docker и конфигурация

    5. Проверить готовность и журнал после перезапуска

      Логи, задержка и готовность

    Assessment criteria

    • В чистом окружении проходят тесты, неуспешный тест останавливает сборку.
    • После перезапуска /ready даёт 200 и прежняя книга читается с тем же id.
    • В отчёте видны отказ в записи без прав, журнал проверки и результат восстановления учебной базы.

    How to submit and check your work

    Приложите идентификатор версии, инструкции запуска, вывод тестов и результат проверки сохранности данных после перезапуска.

    You can work ahead and save notes. Completing this project does not complete its prerequisites for you.

    • Собрать и проверить выпуск API · Required to complete this topic · Russian

      Independent work: check your work against the assignment criteria. Self-assessment awards no verified points; mentor acceptance is recorded separately.

    • Создание и чтение книги через Flask · Required to complete this topic · Russian

      Code: tests check your solution in the specified environment. Running or building successfully does not mean it passes.

    External resource languages: No additional links for this lesson