Metadata-Version: 2.1
Name: pydantic-secret-decimal
Version: 0.1.1
Summary: Secret field for Decimal types in Pydantic
Home-page: https://github.com/expobrain/pydantic-secret-decimal
License: MIT
Author: Daniele Esposti
Author-email: daniele.esposti@gmail.com
Requires-Python: >=3.7,<4
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: pydantic (>=1.8,<2.0)
Project-URL: Repository, https://github.com/expobrain/pydantic-secret-decimal
Description-Content-Type: text/markdown

# pydantic-secret-decimal

![example branch parameter](https://github.com/expobrain/pydantic-secret-decimal/actions/workflows/main.yml/badge.svg?branch=main)

This package provides a Pydantic field `SecretDecimal` to store Decimal types as secret the same as the Pydantic's standard `SectreStr` and `SecretBytes` fields (see the [official docs](https://pydantic-docs.helpmanual.io/usage/types/#secret-types)).

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

