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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pydantic-secret-decimal-0.1.2.tar.gz.

File metadata

  • Download URL: pydantic-secret-decimal-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pydantic-secret-decimal-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d2a0ed90ad94df054900f3abb20b425cb17fde492f83522e8ce58d5fa43e7ac5
MD5 51a27dab66e31c5929550ec5e6ba0e31
BLAKE2b-256 8b76b7db02afaca04c3c4a1dff235956ef45c9cc59231ba9bfe12d92502a1d0b

See more details on using hashes here.

File details

Details for the file pydantic_secret_decimal-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pydantic_secret_decimal-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pydantic_secret_decimal-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a1334ea4b58b96159619c153f151440c14eca260ddeed1f5b88afcccbc83b669
MD5 ba67c84f3498d1bc445f98112a99ef56
BLAKE2b-256 c1ac8b100440e34246ed5b8678096187fb562c23ca3017f822f390b2172e69d6

See more details on using hashes here.

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