Skip to content
| Marketplace
Sign in
Visual Studio Code>Extension Packs>Templ Project Python Extension PackNew to Visual Studio Code? Get it now.
Templ Project Python Extension Pack

Templ Project Python Extension Pack

templ-project

|
15 installs
| (0) | Free
Essential Python development environment for VSCode - comprehensive tooling for modern Python development, data science, and web applications
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Templ Project Python Extension Pack

Essential Python development environment for VSCode - comprehensive tooling for modern Python development, data science, and web applications

📦 What's Included

This extension pack includes 8 carefully selected extensions to enhance your python development experience in vscode.

✅ Core Extensions (3)

These extensions are essential for python development:

  • Python - Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactoring, unit tests, and more.
  • Black Formatter - Formatting support for Python files using the Black formatter.
  • isort - Import organization support for Python files using isort.

💡 Additional Extensions (5)

These extensions provide extra functionality and convenience:

  • Jupyter - Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more.
  • Pylint - Linting support for Python files using Pylint.
  • Flake8 - Linting support for Python files using Flake8.
  • autoDocstring - Python Docstring Generator - Generates python docstrings automatically
  • Python Test Explorer for Visual Studio Code - Run your Python tests in the Sidebar of Visual Studio Code

🚀 Installation

Method 1: Install from Marketplace

  1. Open Vscode
  2. Go to Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "Templ Project Python Extension Pack"
  4. Click "Install"

Method 2: Install via Command Line

code --install-extension @templ-project/python-extension-pack

Method 3: Install from VSIX

  1. Download the latest .vsix file from Releases
  2. Open Vscode
  3. Run Extensions: Install from VSIX... command
  4. Select the downloaded file

⚙️ Configuration

After installation, you may want to configure some settings for optimal python development:

python.defaultInterpreterPath

"python.defaultInterpreterPath": "./venv/bin/python"

Default Python interpreter path (adjust for your environment)

python.linting.enabled

"python.linting.enabled": true

Enable Python linting

python.linting.pylintEnabled

"python.linting.pylintEnabled": true

Enable Pylint for comprehensive code analysis

python.linting.flake8Enabled

"python.linting.flake8Enabled": true

Enable Flake8 for style guide enforcement

python.formatting.provider

"python.formatting.provider": "black"

Use Black as the default Python formatter

python.formatting.blackArgs

"python.formatting.blackArgs": [
  "--line-length=88"
]

Black formatter arguments

python.sortImports.args

"python.sortImports.args": [
  "--profile=black"
]

Configure isort to be compatible with Black

editor.formatOnSave

"editor.formatOnSave": true

Format Python files on save

editor.codeActionsOnSave

"editor.codeActionsOnSave": {
  "source.organizeImports": true
}

Organize imports on save

editor.rulers

"editor.rulers": [
  88
]

Show ruler at Black's default line length

python.analysis.typeCheckingMode

"python.analysis.typeCheckingMode": "basic"

Pylance type checking mode (off, basic, strict)

python.analysis.autoImportCompletions

"python.analysis.autoImportCompletions": true

Enable auto-import completions

python.analysis.autoSearchPaths

"python.analysis.autoSearchPaths": true

Automatically search for imports

python.analysis.diagnosticMode

"python.analysis.diagnosticMode": "workspace"

Analyze entire workspace for diagnostics

python.testing.pytestEnabled

"python.testing.pytestEnabled": true

Enable pytest for testing

python.testing.unittestEnabled

"python.testing.unittestEnabled": false

Disable unittest (using pytest instead)

python.testing.pytestArgs

"python.testing.pytestArgs": [
  "."
]

Pytest arguments

python.testing.autoTestDiscoverOnSaveEnabled

"python.testing.autoTestDiscoverOnSaveEnabled": true

Automatically discover tests when saving

jupyter.askForKernelRestart

"jupyter.askForKernelRestart": false

Don't ask for kernel restart confirmation

jupyter.interactiveWindow.textEditor.executeSelection

"jupyter.interactiveWindow.textEditor.executeSelection": true

Execute selected code in interactive window

terminal.integrated.env.windows

"terminal.integrated.env.windows": {
  "PYTHONPATH": "${workspaceFolder}"
}

Set PYTHONPATH in Windows terminal

terminal.integrated.env.linux

"terminal.integrated.env.linux": {
  "PYTHONPATH": "${workspaceFolder}"
}

Set PYTHONPATH in Linux terminal

terminal.integrated.env.osx

"terminal.integrated.env.osx": {
  "PYTHONPATH": "${workspaceFolder}"
}

Set PYTHONPATH in macOS terminal

⌨️ Recommended Keybindings

  • Run Python file in terminal: ctrl+shift+p
  • Debug Python file: f5
  • Create Python terminal: ctrl+shift+`
  • Sort imports: ctrl+shift+i
  • Format document: ctrl+shift+f
  • Run all tests: ctrl+shift+t
  • Run current file: ctrl+shift+r
  • Execute selection in Jupyter: shift+enter

📝 Extension Details

Extension Publisher Description
Python Microsoft Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactoring, unit tests, and more.
Black Formatter Microsoft Formatting support for Python files using the Black formatter.
isort Microsoft Import organization support for Python files using isort.
Jupyter Microsoft Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more.
Pylint Microsoft Linting support for Python files using Pylint.
Flake8 Microsoft Linting support for Python files using Flake8.
autoDocstring - Python Docstring Generator Nils Werner Generates python docstrings automatically
Python Test Explorer for Visual Studio Code Little Fox Team Run your Python tests in the Sidebar of Visual Studio Code

🏷️ Categories

📄 License

Extension Pack License

This extension pack is licensed under the MIT License - see LICENSE.md for details.

Third-Party Extension Licenses

Important: Each extension included in this pack has its own license terms. templ-project is not responsible for the licensing, functionality, or security of third-party extensions.

Extension Publisher License Description
Python Microsoft MIT Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactoring, unit tests, and more.
Black Formatter Microsoft MIT Formatting support for Python files using the Black formatter.
isort Microsoft MIT Import organization support for Python files using isort.
Jupyter Microsoft MIT Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more.
Pylint Microsoft MIT Linting support for Python files using Pylint.
Flake8 Microsoft MIT Linting support for Python files using Flake8.
autoDocstring - Python Docstring Generator Nils Werner MIT Generates python docstrings automatically
Python Test Explorer for Visual Studio Code Little Fox Team MIT Run your Python tests in the Sidebar of Visual Studio Code

Disclaimer

  • We do not guarantee the functionality, security, or compatibility of included extensions
  • We are not responsible for any issues caused by third-party extensions
  • Users install and use extensions at their own risk
  • Please review each extension's license and privacy policy before use

🤝 Contributing

Found an issue or want to suggest an extension? Please open an issue or submit a pull request.

📊 Extension Pack Stats

  • Total Extensions: 8
  • Required Extensions: 3
  • Optional Extensions: 5
  • Target IDE: vscode
  • Language Focus: python

This extension pack is maintained by templ-project and updated regularly to include the most useful python development extensions.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft