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 inCourse 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. Python: типы, коллекции и функции
- 2. Git, окружение и зависимости
- 3. Сети, HTTP и JSON
- 4. Flask и маршрутизация
- 5. Асинхронный ввод-вывод
- 6. Проверка ввода и ошибки API
- 7. SQL, SQLite и транзакции
- 8. REST и идентификаторы ресурсов
- 9. PostgreSQL, связи и индексы
- 10. Docker и конфигурация
- 11. Логи, задержка и готовность
- 12. Фоновые задания и повтор
- 13. Автотесты HTTP API
- 14. Миграции схемы и резервная копия
- 15. Кеш и актуальность данных
- 16. Аутентификация и права доступа
- 17. CI и выпуск сервиса
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.
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
- Обработать коллекцию книг · Required to complete this topic · Russian
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
- Воспроизвести окружение из Git · Required to complete this topic · Russian
Сети, 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
- Прочитать два HTTP-ответа · Required to complete this topic · Russian
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
- Проверить контракт чтения коллекции · Required to complete this topic · Russian
Проверка ввода и ошибки 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
- Добавить книгу и отклонить неверное тело · Required to complete this topic · Russian
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
- Заменить список файлом базы данных · Required to complete this topic · Russian
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
- Связать создание и чтение по id · Required to complete this topic · Russian
Автотесты 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
- Сдать API и воспроизводимые тесты · Required to complete this topic · Russian
Аутентификация и права доступа
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
- Проверить доступ читателя и редактора · Required to complete this topic · Russian
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
- Спроектировать каталог в PostgreSQL · Required to complete this topic · Russian
Миграции схемы и резервная копия
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
- Обновить схему с уже существующими книгами · Required to complete this topic · Russian
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
- Запустить сервис из образа · Required to complete this topic · Russian
Логи, задержка и готовность
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
- Отличить живой процесс от готового API · Required to complete this topic · Russian
Кеш и актуальность данных
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
- Проверить кеш чтения · Required to complete this topic · Russian
Асинхронный ввод-вывод
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
- Ограничить параллельное чтение · Required to complete this topic · Russian
Фоновые задания и повтор
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
- Сделать повторяемую выгрузку · Required to complete this topic · Russian
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
Проверить права читателя и редактора
Аутентификация и права доступа
Выполнить тесты на изолированных данных
Автотесты HTTP API
Развернуть согласованную версию схемы
Миграции схемы и резервная копия
Поднять собранный сервис с постоянным хранилищем
Docker и конфигурация
Проверить готовность и журнал после перезапуска
Логи, задержка и готовность
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