pydantic-secret-decimal

Unit testing, formatting & linting

This package provides a Pydantic field SecretDecimal to store Decimal types as secret the same as the Pydantic's standard SecretStr and SecretBytes fields (see the official docs).

An use case for the SecretDecimal is when storing latitude and longitude of an user which is considered as PII.