Skip to content

Reference

The Reference section contains the complete technical documentation for gitversioned — 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

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

from gitversioned import Settings, configure_logger
from gitversioned.logging import logger

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

# Load application settings
settings = Settings()

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