Skip to main content

Validate dicts against a schema

Project description

Valedictory validates dicts. It operates in a manner superficially similar to Django forms, but is tuned for use in API validation, and other situations where you are receiving JSON as opposed to key-value POST form data. It takes in a dict of data (probably obtained from a JSON POST request), and validates that data against some criteria.

Input data can be typed, unlike regular Django forms, and validators can be nested, again unlike Django forms.

Additionally, Validator themselves are stateless once constructed. You can reuse the same Validator instance to validate input data multiple times, from multiple sources.

Django is not a requirement. It is just useful as a comparison.

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

valedictory-0.3.1.tar.gz (12.5 kB view details)

Uploaded Source

File details

Details for the file valedictory-0.3.1.tar.gz.

File metadata

  • Download URL: valedictory-0.3.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for valedictory-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ca08e7f60a18c0228754bd64f9ec65b2b59e43cd06fc2df787bf98bfee2bfc9f
MD5 0e12c7c2116cdcdf3381d8731c14d9c4
BLAKE2b-256 f46cb73d5d0cea1934bd92e7330b69ddcfb07324a6bbdde96d4541770498b439

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