Downloads:

6,821

Downloads of v 2020.9.112786:

118

Last Update:

30 Sep 2020

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

python vscode-python vscode microsoft

Python VSCode Extension

2020.9.112786 | Updated: 30 Sep 2020

Downloads:

6,821

Downloads of v 2020.9.112786:

118

Maintainer(s):

Software Author(s):

  • Microsoft

Python VSCode Extension 2020.9.112786

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

Requires vscode to be installed.

To install Python VSCode Extension, run the following command from the command line or from PowerShell:

>

To upgrade Python VSCode Extension, run the following command from the command line or from PowerShell:

>

To uninstall Python VSCode Extension, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade vscode-python -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade vscode-python -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure vscode-python installed
  win_chocolatey:
    name: vscode-python
    state: present
    version: 2020.9.112786
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'vscode-python' do
  action    :install
  version  '2020.9.112786'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: vscode-python,
    Version: 2020.9.112786,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller vscode-python
{
   Name     = 'vscode-python'
   Ensure   = 'Present'
   Version  = '2020.9.112786'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'vscode-python':
  provider => 'chocolatey',
  ensure   => '2020.9.112786',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install vscode-python version="2020.9.112786" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 30 Sep 2020.

Description

A Visual Studio Code extension withrich support for the Python language (for all actively supported versions of the language: 2.7, >=3.5), including features such as IntelliSense, linting, debugging, code navigation, code formatting, Jupyter notebook support, refactoring, variable explorer, test explorer, snippets, and more!

Features

  • IntelliSense: Edit your code with auto-completion, code navigation, syntax checking and more
  • Linting: Get additional code analysis with Pylint, Flake8 and more
  • Code formatting: Format your code with black, autopep or yapf
  • Debugging: Debug your Python scripts, web apps, remote or multi-threaded processes
  • Testing: Run and debug tests through the Test Explorer with unittest, pytest or nose
  • Jupyter Notebooks: Define and run code cells, render plots, visualize variables through the variable explorer and more
  • Environments: Automatically activate and switch between virtualenv, venv, pipenv, conda and pyenv environments
  • Refactoring: Restructure your Python code with variable extraction, method extraction and import sorting

Notes

  • This package requires Visual Studio Code 1.48.0 or newer.
    You can install either the vscode or vscode-insiders package.
  • The extension will be installed in all editions of Visual Studio Code which can be found.
  • While this package installs a specific version of the extension, Visual Studio Code by default will update the extension to the latest version on startup if there's a newer version available on the marketplace.
    See Extension auto-update for instructions on how to disable auto-update.
  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.

screenshot


legal\LICENSE.txt
LICENSE

Copyright (c) Microsoft Corporation. All rights reserved.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The Visual Code extension has been downloaded from the official Visual Studio Marketplace public gallery
and can be verified by:

1. Go to the Visual Studio Marketplace page for the package

  https://marketplace.visualstudio.com/items?itemName=ms-python.python

and download the package ms-python.python-2020.9.112786.vsix using the Download Extension link
in the Resources section of the sidebar.

Alternatively the package can be downloaded directly from

  https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2020.9.112786/vspackage

2. The package can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash ms-python.python-2020.9.112786.vsix
  - Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f ms-python.python-2020.9.112786.vsix

  Type:     sha256
  Checksum: 842B361EB83BE6D39CCFEA0EB5B7F960AA137FC41E6E1C09CD2DFF34517FFA58

  File LICENSE.txt is obtained from https://marketplace.visualstudio.com/items/ms-python.python/license
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Install-VsCodeExtension -extensionId "$toolsDir\ms-python.python-2020.9.112786.vsix"
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

Uninstall-VsCodeExtension -extensionId 'ms-python.python'
tools\ms-python.python-2020.9.112786.vsix
md5: C64B79FA822418E07B6D0F57B8838B44 | sha1: 82E6F4B6D07D884B0EE12D78EAD12C971085E33D | sha256: 842B361EB83BE6D39CCFEA0EB5B7F960AA137FC41E6E1C09CD2DFF34517FFA58 | sha512: 2BB0A7BA9F296BD899080F14026D2FDEE8822E8CE417696B5182E9C95DE1309D2E3D68B9819F1527F76291901B1A3442632C4DC8AE033166587AE662566B3E2F

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Python VSCode Extension 2020.9.111407 258 Thursday, September 24, 2020 Approved
Python VSCode Extension 2020.8.109390 325 Wednesday, September 16, 2020 Approved
Python VSCode Extension 2020.8.108011 259 Thursday, September 10, 2020 Approved
Python VSCode Extension 2020.8.106424 206 Friday, September 4, 2020 Approved
Python VSCode Extension 2020.8.105369 186 Tuesday, September 1, 2020 Approved
Python VSCode Extension 2020.8.105045 178 Friday, August 28, 2020 Approved
Python VSCode Extension 2020.8.103604 195 Saturday, August 22, 2020 Approved
Python VSCode Extension 2020.8.101144 312 Thursday, August 13, 2020 Approved
Python VSCode Extension 2020.7.96456 400 Friday, July 24, 2020 Approved
Discussion for the Python VSCode Extension Package

Ground Rules:

  • This discussion is only about Python VSCode Extension and the Python VSCode Extension package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Python VSCode Extension, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus