How I'm organizing my #Streamlit micro SaaS using packages and uv to separate the features I want to build. This is my first attempt at coding a SaaS from a data analyst perspective with just enough development skills to be dangerous. In this video, I’ll share how to setup a modular and maintainable codebase by separating functionality into reusable packages using Astral's #uv and the Setuptools library to streamline the development workflow. This is not a traditional tutorial, but rather a build in public walkthrough of a workflow to try to build an efficient micro SaaS using #python from the get-go.
➡️ Watch this video for the Streamlit project setup I used: • 5 Minute Streamlit Project Setup with uv
🗞️ Sign up for the Newsletter to get the link for the 100 Day Study Sprint from my book, Python for Doers: http://eepurl.com/jivmaM
Software & other stuff:
✨Astral's uv Python package manager: https://docs.astral.sh/uv/getting-sta...
🔨 Setuptools: https://setuptools.pypa.io/en/latest/...
🔖 Reference: https://github.com/data-sloth/uv-stre...
00:00 - Introduction
01:30 - Setting up the project and virtual environment
02:40 - Creating packages and source directories
04:15 - Configuring pyproject.toml and uv
05:33 - Building a test package and confirming functionality
07:03 - Committing changes to the git branch
08:31 - Conclusion and next steps