$npx skillfedfor your agent

voluptuous

Python data validation library

With conditionsPyPI Software DevelopmentReleased Dec 20256.9M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — voluptuous-0.16.0-py3-none-any.whl
v0.16.0 · released 2025-12-18 · Python >=3.9

Yes, if you need straightforward schema validation for structured data. Voluptuous is stable, has no dependencies, and is widely used. The contributions-only maintenance model is a trade-off: expect community-driven fixes and no proactive feature work, but the core library is mature and unlikely to need frequent changes. Choose it if you prefer declarative schemas over class-based validators.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low friction—pure Python wheel with no runtime dependencies.
  • Actively maintained with recent releases; however, the maintainer has stated the project is in contributions-only mode and no longer uses it personally, so expect community-driven fixes rather than proactive feature development.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you may use, modify, and distribute voluptuous freely in commercial and open-source projects with minimal restrictions.

last release 2025-12-18 (239 days) · last repo commit 2026-07-25 · 1,850 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,890,471 downloads/mo, #1,820 on PyPI

Verify before relying

pip install voluptuous

from voluptuous import Schema, Required, All, Range

schema = Schema({
    Required('q'): str,
    'per_page': All(int, Range(min=1, max=20)),
})

result = schema({'q': 'search term', 'per_page': 10})
  • Performance characteristics on very large or deeply nested data structures.
  • Extent of community support and PR review turnaround given contributions-only status.
Same gist for agents: .md · .json

What it is and what it does

Voluptuous is a Python data validation library designed to check incoming data (from JSON, YAML, APIs, etc.) against a schema you define. Rather than writing custom validation code, you describe your data structure using simple Python types and callables—dictionaries, lists, type checks, and custom validators—and Voluptuous matches input against that schema, raising detailed exceptions when validation fails.

The library prioritizes simplicity and useful error messages. Schemas are just Python data structures: `{int: str}` means a dict with integer keys and string values, `[int, float, str]` means a list containing only those types. You can nest schemas arbitrarily and compose validators using functions like `Required`, `All`, `Range`, and `Length`. When validation fails, you get a clear path to the problem in your data.

Use it for

  • Validate API request parameters before processing them in a web service.
  • Check configuration files (JSON/YAML) match expected structure at application startup.
  • Enforce data contracts in data pipelines before passing records downstream.
  • Validate form submissions or user input in web applications.
  • Ensure nested data structures from external sources conform to expected types and constraints.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need straightforward schema validation for structured data.

Voluptuous is stable, has no dependencies, and is widely used. The contributions-only maintenance model is a trade-off: expect community-driven fixes and no proactive feature work, but the core library is mature and unlikely to need frequent changes. Choose it if you prefer declarative schemas over class-based validators.

Install

voluptuous on PyPI

Before you install

Low friction—pure Python wheel with no runtime dependencies. Actively maintained with recent releases; however, the maintainer has stated the project is in contributions-only mode and no longer uses it personally, so expect community-driven fixes rather than proactive feature development.

Requires Python 3.9 or later.

License in practice

BSD-3-Clause is permissive; you may use, modify, and distribute voluptuous freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install voluptuous

from voluptuous import Schema, Required, All, Range

schema = Schema({
    Required('q'): str,
    'per_page': All(int, Range(min=1, max=20)),
})

result = schema({'q': 'search term', 'per_page': 10})

Verify before relying

  • Performance characteristics on very large or deeply nested data structures.
  • Extent of community support and PR review turnaround given contributions-only status.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 239 days since the last release
Last repo commit
First released
Downloads6,890,471 / month, #1,820 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9

Evidence: voluptuous-0.16.0-py3-none-any.whl

Tags

Capabilities
python data validation libraryschema validation json yamlvalidate nested data structuresinput validation with error messagesdeclarative schema validationpython dict validationstructured data validation
Topics
validationschemadata-validation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “validate nested data structures”

  • voluptuousVoluptuous validates Python data structures (dictionaries, lists,…
  • FormEncodeFormEncode validates and generates HTML forms, with validation logic…
  • cfgvValidates configuration data against schemas and produces detailed,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also voluptuous-serialize · voluptuous-openapi · schema · jsonschema · xmlschema · avro-validator · yamale · jsonschema-rs · zope.schema · fastjsonschema