This repository provides a streamlined template for building Python applications tailored for SAP BTP Environment. It includes a robust project structure, configuration management, and deployment readiness for SAP BTP (Business Technology Platform). With this template, you can quickly set up rest endpoints integrated with best practices for scalable and maintainable development, while ensuring seamless deployment to BTP environments.
To effectively use this template the following tools are required to be installed
1. UV
A rust based python package and project management tool
follow the installation guide to setup uv.
Tip
- on macOS uv can be installed using brew.
- uv can also be installed on BAS.
2. Copier
A CLI app for rendering project templates
follow the installation guide to setup copier.
Tip
copier can be installed as a uv tool.
- using uv
uvx copier copy https://github.tools.sap/CoE-IN-CLOUD-INT/python-app-template.git <Destination Path>
- using copier cli
copier copy https://github.tools.sap/CoE-IN-CLOUD-INT/python-app-template.git <Destination Path>
- create a directory
mkdir sample
- open the newly created directoy
cd sample
- generate project using the template in the current folder
copier copy https://github.tools.sap/CoE-IN-CLOUD-INT/python-app-template.git .
- fill in the prompts to generate the project from the template
If you'd like to contribute, please create a new branch to the repository, make your changes, and submit a pull request (PR).
Note
This README serves as a template for building python application. When using this as a starting point for a new project, ensure you update or delete sections as needed to reflect your specific use case.