Python 3.11 adds tomllib to the standard library for reading TOML files.
Want to test it yourself? Install via pyenv or the official Python Docker image python:3.11-slim . python 3.11