arcon is a Python library (v0.4.0) for persistent runtime configuration. It provides a CLI argument parser that can load defaults from a pyproject.toml file, reducing boilerplate. It requires Python >=3.8, <4.0 and is released on an irregular cadence.
pip install arconVerified import paths — ran on the pinned version, not inferred.
Basic CLI with pyproject.toml support – if a pyproject.toml exists with [tool.arcon] keys, they serve as defaults.
Use underscores: --my-arg → my_arg
Ensure pyproject.toml is in the project root (the directory containing your script's parent).
Use only simple types or override via command-line.
Use: from arcon import ArgumentParser
Check version; from arcon import ArgumentParser; parser = ArgumentParser() — config is handled automatically via pyproject.toml.
Create a pyproject.toml at the project root, or use parser = ArgumentParser(pyproject=False) to disable config loading.