Skip to content

Conversation

@tmlmt
Copy link
Owner

@tmlmt tmlmt commented Jan 11, 2026

Description

Introducing ShoppingCart and ProductCatalog.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

tmlmt added 7 commits January 11, 2026 01:09
…st to products from a catalog (#64)

Resolves: #38

* feat: new class ShoppingCart to match products from a catalogue with a shopping list's ingredients

* feat(ShoppingCart): add total price per selected product

* feat: new class `ProductCatalog` to manage product catalogs

* feat(ShoppingCart): add possibility to provide shopping list and/or catalog in the constructor

* docs: added additional types to the API section

* test: maximize coverage (100%)

* docs: improve docstrings, add examples and remarks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants