Skip to main content

Pythonic Einkaufszettel API

Project description

Einkaufszettel

Ever wanted to manage your (in-memory) shopping list with Python? Then look no further!

>>> from einkaufszettel import Zettel, Item
>>>
>>> zettel = Zettel('Netto')
>>> zettel.append('Apfel')
>>> zettel.append(
...     Item(
...         name='Käse',
...         completed=True,
...     )
... )
>>> zettel.append(Item('Tomaten', 1.5, 'kg'))
>>> zettel.append(Item('Zucchini', 2))
>>>
>>> zettel
Zettel(name='Netto')
>>> list(zettel)
[Item(name='Apfel', qty=1.0, unit='Stück', completed=False), Item(name='Tomaten', qty=1.5, unit='kg', completed=False), Item(name='Zucchini', qty=2, unit='Stück', completed=False)]
>>>

Development

mise install
uv sync
make

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

einkaufszettel-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

einkaufszettel-0.1.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file einkaufszettel-0.1.2.tar.gz.

File metadata

  • Download URL: einkaufszettel-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for einkaufszettel-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0e5ad9697eb569a3c561f42a2a1c57e0e0418389367526ed41b3bf3555bc0b0f
MD5 068f2dd1ca81a051ec1ee2d89ae76ca3
BLAKE2b-256 4610715b1b3ad3f90473124521f4c0c4cb7350bd32a3042a04f128f0379f6b3c

See more details on using hashes here.

File details

Details for the file einkaufszettel-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: einkaufszettel-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for einkaufszettel-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d28b51bfb349645f48e082cca1e910c6ad5b0f16d4690eee00a017c619061c3c
MD5 f9a4b63f55c8f2bf79c3bfe37ee55012
BLAKE2b-256 96a12ad81a887d16970f8335a0eec52c60624369f2b009f4ff56558c6b3cc096

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page