Skip to main content

Secret field for Decimal types in Pydantic

Project description

pydantic-secret-decimal

example branch parameter

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydantic-secret-decimal-0.1.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

pydantic_secret_decimal-0.1.2-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page