Metadata-Version: 2.4
Name: mangel
Version: 0.1.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Rust
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Classifier: Intended Audience :: Developers
Summary: Product data normalisation: irregular fields in, regular fields out. Written in Rust.
Keywords: product-data,normalisation,units,abbreviations,retail
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/mommo-codes/mangel
Project-URL: Repository, https://github.com/mommo-codes/mangel

# mangel

Product data normalisation: irregular fields in, regular fields out. Written
in Rust; this is the Python binding.

**Not yet published, and no parsing rules exist yet.** What the binding
exposes today is the vocabulary compiled into the library.

```python
import mangel

mangel.abbreviations("se")["Laktosfri"]   # 'LF'
mangel.abbreviations("SE")                # ValueError — market codes are exact
```

Every call takes a market. There is no default: one that was right for Sweden
would be silently wrong for the next market.

Full documentation: <https://github.com/mommo-codes/mangel>

MIT licensed.

