Skip to content

Reference

The Reference section contains the complete technical documentation for disdantic — API classes, configuration options, CLI reference, and test coverage reports.

In This Section

  • CLI

    Command-line usage and subcommands.

  • Python API

    Complete public Python API documentation.

  • Python Tests

    Python coverage reports for unit, integration, functional, and E2E tests.

Python API Usage

disdantic can also be used programmatically in your own Python scripts:

from disdantic import LoggingSettings, Settings, configure_logger, logger

# Initialize the global logger
configure_logger(LoggingSettings(enabled=True, level="INFO"))

# Load application settings
settings = Settings(environment="production")

# Log the current configuration
logger.info("Application initialized with settings: {}", settings)