There are a bunch of modern package managers for Python. I'd recommend you to read some articles like this before writing pyproject.toml from scratch.