Stanley Solutions Blog

engineering and creativity - all under one hat

#build Articles


Packaging Single File Python Projects

Somehow, I've managed to build quite a few random Python package, and contribute to others. I've recently been working towards converting all of the Python projects I manage to the new pyproject.toml standards for packaging, and I've recently had to work through an interesting little challenge for some of the projects which only contain a sigle Python file. No module folder, no __init__.py. Just a single file.