Skip to content

This repo contains examples of various Python project types.

License

Notifications You must be signed in to change notification settings

microsoft/vscode-python-templates

Repository files navigation

VS Code Python Repo Templates

This repository contains sample code illustrating various Python related projects and their recommended configuration. Each sample is a self-contained scenario that provides a recommended project configuration and some sample code to get you started. You can read, play with or adapt from these samples to create your own projects.

You can expect from each sample:

  • An explanation of its functionality
  • Link to a guide on the VS Code website, if it has one
  • Appropriate configuration files
  • Sample code

Prerequisites

You need to have the Python extension including Pylance and the Python Debugger installed in VS Code. For some templates, Dev Containers are also recommended.

Usage

  • Open the terminal and clone this repository:

git clone https://github.com/Microsoft/vscode-python-templates

  • Open one of the template folders in VS Code:

code <path-to-sample-folder>

Alternatively, you can follow the instructions in each sample's README for setting up and running the sample.

Templates

Template Guide/Docs
Data Science Template Data science tutorial
Django Template Django tutorial
Flask Template Flask tutorial
Fast API Template FastAPI tutorial
Python Package Template N/A
Python Script Template Python tutorial

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License.

About

This repo contains examples of various Python project types.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •