Skip to content

Example Script

example_script.py
# noqa: INP001 snippets are not part of a package.
# Copyright 2026 CNRS
# This software is distributed under the terms of the CeCILL-C free software license.

"""Example of a module."""

import logging
from importlib.metadata import version


def main() -> None:
    """Implement a dummy main for a snippet example."""
    logging.basicConfig(level="INFO")
    logger = logging.getLogger(__name__)
    logger.info("PhoenixCIToolkitPython version: %s", version("phoenixcitoolkitpython"))


if __name__ == "__main__":
    main()