Skip to content

A starter template for building python packages that you intend to distribute as open source repos

License

Notifications You must be signed in to change notification settings

iloveitaly/python-package-template

Repository files navigation

Python Package Template

Do you like building python packages? Do you hate configuring all of the things?

This is for you. Create a new folder with your package name, then run the following script:

curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/iloveitaly/python-package-template/refs/heads/master/setup.sh | bash -s

What is Provided?

Here are the key tools and features provided:

  1. uv. Configured in the .envrc file with layout uv.
  2. Makefile. Provides commands for setting up (make setup) and cleaning (make clean) the project environment.
  3. GitHub Actions. Repo metadata sync, package build and publish.
  4. Dependabot.:
  5. VS Code Settings. Some important py config that is hard to figure out sometimes.
  6. CLI Script Hook. Remove if you aren't publishing a package with a CLI.