Skip to content
/ sourdough-py Public template

A delicious starter for your python applications 🐍❤️

License

Notifications You must be signed in to change notification settings

brizzbuzz/sourdough-py

Repository files navigation

Sourdough.py

Welcome to the Python Sourdough starter ❤️

Pre-requisites

This template repository relies on a number of dependencies that you will need before you start developing your application

  • Python (duh). You will need a base python interpreter in order to run this project
  • PyEnv. Optional, but very useful as a layer on top of your base interpreter to provide seamless version management.
  • Poetry. Python dependency manager
  • Changie. (Optional) Automated CHANGELOG management
  • Just. (Optional, but highly recommended) Just a command runner
  • Docker. Used to provision local infrastructure
  • Act (Optional) Allows you to run GitHub Actions locally to debug pipeline issues

Local Development

Set up

Once you have installed the pre-requisites, you are ready to start running the app locally.

Go ahead and run

just setup

The first command will install all dependencies, while the second will install the pre-configured git hooks to ensure that your code is linted and formatted prior to pushing.

Running the API

To run the API

just api

This will launch your shiny new API ✨ head on over to localhost:8080/docs and you should be greeted with beautiful, autoconfigured API documentation

Running the CLI

To run the CLI

just cli --help

Running tests

Tests are managed via pytest, and are set up to be run via

just test

Misc

For additional available commands, run

just --list

About

A delicious starter for your python applications 🐍❤️

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages