idx-normalizator
Normalizers and validators for product identifiers — index/idx (slugified, length-capped with an md5 suffix), SKU, and EAN.
Installation
pip install entirius-py-idx-normalizator
Usage
from idx_normalizator import normalize_idx, validate_idx, validate_sku, normalize_ean
normalize_idx("Example Cammel Name") # "example-cammel-name"
validate_idx("example-cammel-name") # raises ValueError if not a valid idx
validate_sku("ABC-123") # raises ValueError on forbidden chars / length
normalize_ean(" 5901234 ") # "5901234"
Development
make install # sync dependencies (uv)
make check # lint + format check (ruff)
make test # test suite (pytest)
Development and agent instructions: AGENTS.md.
License
Mozilla Public License 2.0 — see LICENSE.
Metadata
Release files for entirius-py-idx-normalizator 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| entirius_py_idx_normalizator-2.0.0.tar.gz | 22.7 kB | Without provenance | Details for entirius_py_idx_normalizator-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| entirius_py_idx_normalizator-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for entirius_py_idx_normalizator-2.0.0-py3-none-any.whl |
Total release size: 31.5 kB
Release files / entirius_py_idx_normalizator-2.0.0.tar.gz
| Download URL | entirius_py_idx_normalizator-2.0.0.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b59beefbb9dfa8fd0e93a6815f232e71520b72b075b5bbd340164f11bbf9c17
|
|
BLAKE2b-256 checksum How to use checksums |
e3602e8ea011c1af165e37664c1d69e2548ee16598390ec839c7dbce6c4c22a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / entirius_py_idx_normalizator-2.0.0-py3-none-any.whl
| Download URL | entirius_py_idx_normalizator-2.0.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de10759515cec43dd78b27446ecc81d401e3eb00430b4a21a5ae8d62302021f0
|
|
BLAKE2b-256 checksum How to use checksums |
561717e62a4f519b1853e9c539526b416063d72447c9890882983fa6616eb4ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for entirius-py-idx-normalizator 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.