InventoryManager/README.m
2026-05-07 23:26:59 +03:00

27 lines
1.9 KiB
Mathematica
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Управление складскими запасами интернет-магазина
## Реализованные функции
| Функция | Описание | Возвращает |
|---------|----------|------------|
| load_products(filepath) | Загружает товары из CSV | list[dict] |
| validate_product(product) | Проверяет корректность данных | bool |
| filter_by_category(products, category) | Фильтрует по категории | list[dict] |
| filter_by_quantity(products, min_quantity) | Фильтрует по остатку () | list[dict] |
| calculate_total_value(products) | Общая стоимость склада | float |
| find_low_stock(products, threshold) | Товары с остатком порога | list[dict] |
| group_by_supplier(products) | Группировка по поставщикам | dict |
| get_most_expensive_product(products) | Самый дорогой товар | dict или None |
| search_by_name(products, keyword) | Поиск по ключевому слову | list[dict] |
| save_inventory_report(products, filepath) | Сохраняет отчёт | bool |
## Запуск
`ash
python src/main.py
`:
## Автор
stud203791, ВятГУ, 2026