В уроке 05-18 вы скачали стартовый набор мини-дашборда. Теперь соберём его на своём компьютере: поставим Python и Claude Code, заведём папку проекта, научимся пяти командам терминала, запустим сборку и проверку, а потом попросим Claude Code добавить в дашборд новый фильтр. Программировать не нужно: нужно аккуратно выполнять шаги и читать, что пишет экран.
In lesson 05-18 you downloaded the mini dashboard starter kit. Now we build it on your computer: install Python and Claude Code, set up a project folder, learn five terminal commands, run the build and the check, and then ask Claude Code to add a new filter to the dashboard. No programming needed: just follow the steps carefully and read what the screen says.
python make_data.py; выполняется по Entera line like python make_data.py; runs on EnterПеред ремонтом вы приносите инструменты и кладёте их туда, где их легко найти. Python и Claude Code — инструменты. PATH — адресная книга Windows: если программы в ней нет, на команду python Windows ответит «не знаю такого». Поэтому половина ошибок установки — не «сломалось», а «не записали адрес».
Before a renovation you bring the tools and put them where they are easy to find. Python and Claude Code are the tools. PATH is Windows' address book: if a program is not in it, Windows answers the python command with "never heard of it". That is why half of all install errors are not "broken" but "address not written down".
| ПрограммаProgram | ЗачемWhy | Обязательно?Required? |
|---|---|---|
| Python 3.12 | считает и собирает дашбордcalculates and builds the dashboard | даyes |
| Windows Terminal (PowerShell) | окно для команд; в Windows 11 уже естьthe command window; already in Windows 11 | даyes |
| Claude Code | пишет и правит код по вашей задачеwrites and edits code to your task | для правок — даfor edits — yes |
| Edge илиor Chrome | показывает дашборд и нужен скрипту проверкиshows the dashboard and is needed by the check script | да (Edge уже есть в Windows)yes (Edge comes with Windows) |
| Git for Windows | журнал версий; Claude Code использует его оболочку, если она естьversion history; Claude Code uses its shell if present | нетno |
| VS Code | удобный редактор, если захотите смотреть кодa handy editor if you want to look at the code | нетno |
Стартовому набору не нужны дополнительные библиотеки Python — ничего не придётся ставить через pip. Полная инструкция с письмом для ИТ — в конце урока и в 04-28-2.
The starter kit needs no extra Python libraries — nothing to install via pip. The full guide with a note for IT is at the end of the lesson and in 04-28-2.
winget install --id Python.Python.3.12 -e. Если winget на рабочем ноутбуке закрыт — скачайте установщик с python.org и обязательно поставьте галочку «Add python.exe to PATH».python --version → Python 3.12.x.winget install --id Python.Python.3.12 -e. If winget is blocked on a work laptop — download the installer from python.org and be sure to tick "Add python.exe to PATH".python --version → Python 3.12.x.| КомандаCommand | Что делаетWhat it does | ПримерExample |
|---|---|---|
cd | перейти в папкуgo to a folder | cd C:\Dashboards\mini |
dir | показать файлы в папкеlist the files in the folder | dir |
mkdir | создать папкуcreate a folder | mkdir C:\Dashboards\mini |
python … | запустить скриптrun a script | python make_data.py |
start … | открыть файл программой по умолчаниюopen a file with its default program | start mini_dashboard.html |
Три приёма экономят время: Tab дописывает имя файла, стрелка ↑ возвращает прошлую команду, Ctrl+C останавливает зависшую. Открыть терминал сразу в папке: в Проводнике щёлкните правой кнопкой по пустому месту папки → «Открыть в терминале».
Three tricks save time: Tab completes a file name, the ↑ arrow brings back the previous command, Ctrl+C stops a stuck one. To open a terminal right in a folder: in Explorer right-click an empty spot in the folder → "Open in Terminal".
Команды — из официальной документации Claude Code на 30.10.2026. Права администратора не нужны. Нужна Windows 10 версии 1809 или новее, 64-битная.
Commands are from the official Claude Code documentation as of 30.10.2026. No administrator rights needed. Windows 10 version 1809 or newer, 64-bit, is required.
| ГдеWhere | Команда установкиInstall command |
|---|---|
| PowerShell | irm https://claude.ai/install.ps1 | iex |
| Командная строка (cmd)Command Prompt (cmd) | curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd |
claude --version.claude — при первом запуске он предложит войти через браузер. Условия доступа — на сайте Claude.claude --version.claude — on first run it offers to sign in via the browser. Access terms are on the Claude website.Git for Windows ставить не обязательно: без него Claude Code работает через PowerShell. Обновления приходят сами. Если на старой Windows 10 установка ругается на защищённое соединение, в PowerShell сначала выполните [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 и повторите.
Git for Windows is optional: without it Claude Code works through PowerShell. Updates arrive automatically. If an older Windows 10 complains about a secure connection, first run [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 in PowerShell and retry.
Создайте mkdir C:\Dashboards\mini и положите туда шесть файлов набора из 05-18. Почему не в OneDrive и не на Рабочий стол: синхронизация держит файлы открытыми и мешает записи, а длинные пути с кириллицей ломают часть программ. Готовый дашборд публикуйте в общую папку (05-21), а работайте — в короткой локальной.
Create mkdir C:\Dashboards\mini and put the kit's six files from 05-18 there. Why not OneDrive or the Desktop: sync keeps files open and blocks writing, and long Cyrillic paths break some programs. Publish the finished dashboard to a shared folder (05-21), but work in a short local one.
Мини-набору окружение не нужно. Оно понадобится, когда дашборд начнёт читать Excel (05-20): библиотеки ставятся в «кладовку» проекта, а не в общий Python.
The mini kit needs no environment. You will need one when the dashboard starts reading Excel (05-20): libraries go into the project's "pantry", not into the shared Python.
python -m venv "%LOCALAPPDATA%\Dashboards\.venv" "%LOCALAPPDATA%\Dashboards\.venv\Scripts\python.exe" -m pip install openpyxl
Окружение держим вне OneDrive (в папке пользователя), иначе синхронизация тысяч мелких файлов тормозит всё. Одно окружение — один проект: обновление библиотеки в одном проекте не ломает другой.
Keep the environment outside OneDrive (in the user folder), otherwise syncing thousands of small files slows everything down. One environment — one project: updating a library in one project does not break another.
Это не настоящий терминал — он только показывает, что ответит компьютер. Цель: проверить Python, создать папку, перейти в неё, собрать и проверить дашборд. Попробуйте и неправильный порядок — увидите настоящие тексты ошибок.
This is not a real terminal — it only shows what the computer will answer. Goal: check Python, create the folder, go into it, build and check the dashboard. Try the wrong order too — you will see the real error texts.
В папке проекта по очереди. Ниже — настоящий вывод на учебных данных.
In the project folder, one by one. Below is the real output on the training data.
PS C:\Dashboards\mini> python make_data.py data.json: 252 строк / rows; факт 2026 / actuals 2026 = 40465; точность / accuracy = 0.9304 PS C:\Dashboards\mini> python build_dashboard.py mini_dashboard.html: 15 КБ / KB - готово / done PS C:\Dashboards\mini> start mini_dashboard.html PS C:\Dashboards\mini> python check_dashboard.py ошибки JS / JS errors: нет / none | fatal: нет / none точность 2026 / accuracy 2026: экран / screen 0.9304, Python 0.9304 -> OK точность 2025 / accuracy 2025: экран / screen 0.9337, Python 0.9337 -> OK заголовок после EN / title after EN: Valley Beverages · forecast accuracy | NaN/undefined: False ИТОГ / RESULT: OK
Обратите внимание: точность 93,04 % напечатал Python в первой строке, и та же цифра стоит на экране — проверка это и сверила. Если цифры разойдутся, проверка напишет «НЕ СХОДИТСЯ» и не даст опубликовать «на глаз».
Note: Python printed 93.04% accuracy in the first line, and the same number is on screen — that is what the check reconciled. If they diverge, the check says "MISMATCH" and stops you publishing "by eye".
Чтобы не набирать команды, в наборе есть run_dashboard.bat: двойной клик — данные, сборка и открытие. Внутри только латиница: командная строка Windows читает .bat по байтам, и русские буквы превращаются в «кракозябры» или ломают команды. Русские сообщения пишет Python, а не .bat.
To avoid typing commands the kit has run_dashboard.bat: a double click — data, build and open. Inside — Latin letters only: Windows Command Prompt reads a .bat byte by byte, and Cyrillic turns into garbage or breaks commands. Python prints the Russian messages, not the .bat.
Добавим фильтр по месяцу. В папке проекта наберите claude и вставьте запрос целиком. Хороший запрос называет цель, файлы, правила и проверку — как техническое задание (подробно — 04-28-3).
Let's add a month filter. In the project folder type claude and paste the whole request. A good request names the goal, the files, the rules and the check — like a specification (more in 04-28-3).
Задача: добавь в мини-дашборд фильтр «Месяц» — флажки с месяцами выбранного года, слева под «Товарами».
Файлы: правь только template.html. data.json и скрипты не трогай.
Правила:
- карточки, графики, таблица, кнопка «Откуда цифра?» и выгрузка CSV должны учитывать новый фильтр;
- имя CSV-файла должно содержать выбранные месяцы;
- русский и английский текст — у всех новых подписей;
- нельзя снять все флажки: хотя бы один месяц остаётся;
- новых библиотек не подключай.
Проверка: после правки запусти python build_dashboard.py и python check_dashboard.py.
Обе команды должны закончиться без ошибок. Покажи, какие строки изменил. Task: add a "Month" filter to the mini dashboard — checkboxes with the months of the selected year, on the left below "Products".
Files: edit template.html only. Do not touch data.json or the scripts.
Rules:
- the cards, charts, table, the "Where does this number come from?" button and the CSV export must respect the new filter;
- the CSV file name must contain the selected months;
- Russian and English text for every new label;
- unticking all boxes is not allowed: at least one month stays;
- do not add new libraries.
Check: after the edit run python build_dashboard.py and python check_dashboard.py.
Both must finish without errors. Show which lines you changed. Claude покажет изменения и спросит разрешения записать файл — прочитайте и разрешите. Потом откройте дашборд, поставьте один месяц и сверьте точность в кнопке «Откуда цифра?» с расчётом в Excel на тех же строках.
Claude will show the changes and ask permission to write the file — read and allow. Then open the dashboard, pick one month and reconcile the accuracy in the "Where does this number come from?" button with an Excel calculation on the same rows.
Нажмите на текст, похожий на ваш.
Click the text that looks like yours.
На рабочем ноутбуке часть шагов решает ИТ: может быть закрыт winget, установка программ или выход в интернет через прокси. Не обходите ограничения — отправьте ИТ список программ с назначением (он есть в инструкции ниже и в 04-28-2). Claude Code ставится без прав администратора, но правила компании об ИИ-инструментах и данных — главнее: рабочие выгрузки отдавайте ассистенту только в разрешённом инструменте (02-08).
On a work laptop IT decides some steps: winget, program installs or internet access via a proxy may be locked. Do not work around restrictions — send IT the list of programs with their purpose (it is in the guide below and in 04-28-2). Claude Code installs without admin rights, but company rules on AI tools and data come first: give work exports to an assistant only in an approved tool (02-08).
| РукамиBy hand | Как называетсяWhat it is called |
|---|---|
| двойной клик по .exe и «Далее, Далее»double-click an .exe and "Next, Next" | установка через пакетный менеджер (winget) или установщикinstalling via a package manager (winget) or an installer |
| «Windows не знает, где программа»"Windows does not know where the program is" | программы нет в переменной PATHthe program is not on the PATH variable |
| отдельная папка библиотек для проектаa separate library folder per project | виртуальное окружение (venv)a virtual environment (venv) |
| кнопка, которая запускает команды по порядкуa button that runs commands in order | пакетный файл (.bat), скрипт сборкиa batch file (.bat), a build script |
Визуальная проверка обязательна. Зелёный OK скрипта значит «код не упал и одна цифра сошлась». Он не значит, что новый фильтр стоит там, где нужно, что подписи понятны и что английская версия не пестрит русскими словами. После каждой правки откройте дашборд, переключите язык, нажмите новый фильтр и «Откуда цифра?».
Visual check is mandatory. The script's green OK means "the code did not crash and one number matched". It does not mean the new filter sits where it should, the labels are clear and the English version is free of Russian words. After every edit open the dashboard, switch the language, click the new filter and "Where does this number come from?".
Одна команда в PowerShell или cmd, без прав администратора; установленная версия обновляется сама. Git for Windows стал необязательным.
One command in PowerShell or cmd, no admin rights; the installed version updates itself. Git for Windows became optional.
Claude Code можно запускать и из отдельного приложения, а не только из терминала. Команды этого урока от этого не меняются.
Claude Code can also be run from a separate desktop app, not only from the terminal. This lesson's commands stay the same.
Источник: документация Claude Code — code.claude.com/docs/en/setup, troubleshoot-install, desktop-quickstart (проверено 30.10.2026).
Source: Claude Code documentation — code.claude.com/docs/en/setup, troubleshoot-install, desktop-quickstart (checked 30.10.2026).
Три случая из работы планера в компании-производителе напитков. Названия изменены.
Three cases from planning work at a beverage manufacturer. Names are changed.
В книге: «чек-лист» — 14 шагов с командой и способом проверки, колонка «Сделано?»; «итоги» сами считают готовность и подсказывают следующий шаг; «ошибки» — 10 типичных сообщений с причиной и решением.
The workbook: "checklist" — 14 steps with a command and a way to check, a "Done?" column; "totals" calculates readiness and suggests the next step; "errors" — 10 typical messages with cause and fix.
1. 14 шагов, из них 5 — «Первая сборка».
2. Готовность 8 ÷ 14 = 57 %, следующий шаг — «Сборка» (python build_dashboard.py); в блоке «Первая сборка» сделан 1 шаг из 5.
3. Переустановить Python с галочкой «Add python.exe to PATH», выключить псевдонимы выполнения приложений для python.exe и открыть новое окно.
4. Вывод должен совпасть с разделом 10: точность 0.9304 на экране и в Python.
1. 14 steps, 5 of them "First build".
2. Readiness 8 ÷ 14 = 57%, the next step is "Build" (python build_dashboard.py); 1 of 5 steps done in the "First build" block.
3. Reinstall Python with "Add python.exe to PATH" ticked, switch off App execution aliases for python.exe and open a new window.
4. The output should match section 10: accuracy 0.9304 on screen and in Python.
Claude Code пишет и правит код по вашему запросу и показывает изменения. Python выполняет скрипты: считает и собирает файл. Вы ставите задачу, разрешаете запись, запускаете проверку и сверяете цифры.
Claude Code writes and edits code to your request and shows the changes. Python runs the scripts: calculates and builds the file. You set the task, allow the write, run the check and reconcile the numbers.
Да: стартовый набор собирается одним Python. Claude Code нужен, когда вы захотите что-то поменять, а писать код самой не хочется.
Yes: the starter kit builds with Python alone. Claude Code is for when you want to change something without writing code yourself.
Скрипты набора читают и пишут файлы только в своей папке. Claude Code спрашивает разрешение перед записью и командами. Всё равно читайте, что он предлагает, и не запускайте чужие команды, которые не понимаете.
The kit's scripts read and write files only in their own folder. Claude Code asks permission before writing and running commands. Still read what it proposes and do not run unfamiliar commands you do not understand.
Команды установки другие — смотрите официальную документацию Claude Code и python.org. Скрипты набора работают, но проверке нужен путь к Chrome на Mac, а вместо .bat — команды в терминале.
The install commands differ — see the official Claude Code docs and python.org. The kit's scripts work, but the check needs the Chrome path on a Mac, and instead of the .bat — commands in the terminal.
# Мини-дашборд «Долина напитков»: установка и первая сборка
Для Windows 10 (1809+) и 11, 64-бит. Команды — по официальной документации на 30.10.2026.
## 1. Python 3.12
winget install --id Python.Python.3.12 -e
Или установщик с python.org — галочка «Add python.exe to PATH».
Проверка (в НОВОМ окне): python --version
## 2. Терминал
Windows Terminal / PowerShell (в Windows 11 уже есть):
winget install --id Microsoft.WindowsTerminal -e
## 3. Claude Code (права администратора не нужны)
PowerShell:
irm https://claude.ai/install.ps1 | iex
Командная строка (cmd):
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Проверка (в НОВОМ окне): claude --version
Первый запуск в папке проекта: claude (вход через браузер)
Git for Windows — по желанию: winget install --id Git.Git -e
## 4. Папка проекта
mkdir C:\Dashboards\mini
Положите туда 6 файлов стартового набора (урок 05-18). Не в OneDrive.
## 5. Первая сборка (в папке проекта)
python make_data.py
python build_dashboard.py
start mini_dashboard.html
python check_dashboard.py -> ИТОГ / RESULT: OK
Или двойной клик по run_dashboard.bat.
## Для ИТ: что ставим и зачем
- Python 3.12 — запуск скриптов сборки отчётов (python.org).
- Claude Code (Anthropic, https://claude.ai/install.ps1) — ассистент для правки кода отчётов;
ставится в профиль пользователя, обновляется сам.
- Microsoft Edge или Google Chrome — просмотр отчёта и автоматическая проверка без окна.
- Git for Windows — по желанию, история версий.
Данные компании ассистенту передаются только по правилам компании. # Valley Beverages mini dashboard: install and first build
For Windows 10 (1809+) and 11, 64-bit. Commands per the official documentation as of 30.10.2026.
## 1. Python 3.12
winget install --id Python.Python.3.12 -e
Or the python.org installer — tick "Add python.exe to PATH".
Check (in a NEW window): python --version
## 2. Terminal
Windows Terminal / PowerShell (already in Windows 11):
winget install --id Microsoft.WindowsTerminal -e
## 3. Claude Code (no admin rights needed)
PowerShell:
irm https://claude.ai/install.ps1 | iex
Command Prompt (cmd):
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Check (in a NEW window): claude --version
First run in the project folder: claude (sign in via the browser)
Git for Windows — optional: winget install --id Git.Git -e
## 4. Project folder
mkdir C:\Dashboards\mini
Put the 6 starter kit files there (lesson 05-18). Not in OneDrive.
## 5. First build (in the project folder)
python make_data.py
python build_dashboard.py
start mini_dashboard.html
python check_dashboard.py -> ИТОГ / RESULT: OK
Or double-click run_dashboard.bat.
## For IT: what we install and why
- Python 3.12 — runs the report build scripts (python.org).
- Claude Code (Anthropic, https://claude.ai/install.ps1) — an assistant for editing report code;
installs into the user profile, updates itself.
- Microsoft Edge or Google Chrome — viewing the report and a windowless automated check.
- Git for Windows — optional, version history.
Company data goes to the assistant only under company rules.