Skip to content

🐍 A Cookiecutter template for scaffolding Python packages and apps with extensions for training and deploying Sagemaker models to ECR, Lambda, and API Gateway.

License

Notifications You must be signed in to change notification settings

with-context-engine/repository-factory

Β 
Β 

Repository files navigation

Open in Dev Containers Open in GitHub Codespaces

Poetry Cookiecutter Template

A modern Cookiecutter template for scaffolding Python packages and apps. This repository is intended for organizations and super-user individuals who want to install some sence of order and rigor in code development.

🍿 Demo

Starting development in My Package can be done with a single click by opening My Package in GitHub Codespaces, or opening My Package in a Dev Container.

🎁 Features

✨ Using

Creating a new Python project

1. Clone this template

To create a new customization of this template, first press the big green button on the top right to clone this repository as your own. Then, create an issue by clicking on issues. You will be presented with a issue form template which will ask you to make one selection from a choice of 6 selections as follows:

2. Create an issue

No. Category Item Jupyter Additional Info
1 Python Package Repository ❌ typer is enabled by default with ability to push to PyPi
2 Python Pydantic Repository ❌ mypy Pydantic model checking is enabled by default with ability to push to PyPi
3 Streamlit Streamlit Repository ❌ streamlit is enabled by default and ability to push to ECR is enabled
4 FastAPI FastAPI βœ… fastapi is enabled by default, with ability to push repo to ECR provided variables are supplied
5 FastAPI FastAPI with ML βœ… fastapi is enabled by default, with ability to deploy a novel model from a foundation repository like πŸ€— to FastAPI endpoint from AWS API Gateway + AWS Ξ»
6 FastAPI FastAPI with ML Training βœ… fastapi is enabled by default, with ability to train the model. Data versioning is enabled via DVC and remote is configured. There is further ability to create FastAPI endpoint from AWS API Gateway + AWS Ξ»

3. Merge PR of the customization

Once the workflow has finished running, you can review the anticipated changes to your new customized repository by reviewing the PR. Once you are satisfied with the changes, you can merge the PR.

About

🐍 A Cookiecutter template for scaffolding Python packages and apps with extensions for training and deploying Sagemaker models to ECR, Lambda, and API Gateway.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • Python 79.5%
  • Dockerfile 20.5%