Skip to content

karthikr029/python-btp-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Application Template

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.

Pre-requisites

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.

A CLI app for rendering project templates

follow the installation guide to setup copier.

Tip

copier can be installed as a uv tool.

Usage

  1. using uv
uvx copier copy https://github.tools.sap/CoE-IN-CLOUD-INT/python-app-template.git <Destination Path>
  1. using copier cli
copier copy https://github.tools.sap/CoE-IN-CLOUD-INT/python-app-template.git <Destination Path>

Example

  1. create a directory
mkdir sample
  1. open the newly created directoy
cd sample
  1. generate project using the template in the current folder
copier copy https://github.tools.sap/CoE-IN-CLOUD-INT/python-app-template.git .
  1. fill in the prompts to generate the project from the template

Contributing

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.

About

Python application copier template for SAP BTP Platform

Resources

Stars

Watchers

Forks

Packages

No packages published