Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple Python configuration file management.

Project Description

Simple Python configuration file management.

Confirm validates a configuration file (.INI or YAML format) against a YAML configuration schema.


$ pip install confirm

Example schema file

        "required": true
        "description": "Name of the system associated with the server."
        "type": "str"
        "required": true
        "type": "str"
        "description": "Listening address of the HTTP server."
        "default": "localhost"
        "required": true
        "type": "int"
        "default": 8088
        "description": "Port of the HTTP server."
        "description": "Initial number of threads in the thread pool."
        "type": "int"
        "default": 10
        "description": "Maximum number of threads in the thread pool."
        "type": "int"
        "default": 100
        "deprecated": true


$ confirm validate examples/confirm.yaml project.conf
Error   : Missing required section system.
Error   : Missing required section http_server.
Warning : Deprecated option maximum_pool_size is present in section threading!

Confirm can also be used for validation as a Python library:

from confirm.validator import validator_from_config_file

  result = validator_from_config_file(config_file_path, schema_file_path)


MIT License.

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.9 kB) Copy SHA256 Hash SHA256
Source None Mar 22, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate