Initialize Article Data Manager project

This commit is contained in:
2026-07-29 10:53:21 +02:00
commit 83639b9957
51 changed files with 1100 additions and 0 deletions
@@ -0,0 +1,12 @@
"""Article number normalization."""
def normalize_article_number(value: str) -> str:
"""Trim surrounding whitespace while preserving leading zeros and text content."""
if not isinstance(value, str):
raise TypeError("Article number must be provided as a string.")
normalized = value.strip()
if normalized == "":
raise ValueError("Article number must not be empty.")
return normalized