#!/usr/bin/env python from pip._vendor import tomli import glob import os #print(os.environ["GITHUB_TOKEN"]) for mod in glob.glob("pack/mods/*.toml"): print(mod) with open(mod, "rb") as f: data = tomli.load(f) print(data)