Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Azure Artifacts Package AutomationNew to Visual Studio Code? Get it now.
Azure Artifacts Package Automation

Azure Artifacts Package Automation

Ajayakumar-Vijayakumar

|
2 installs
| (0) | Free
Guided VS Code flow to package a Python script and upload it to Azure Artifacts.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Azure Artifacts Package Automation

Package a Python script and upload it to an Azure Artifacts Python feed without leaving VS Code.

This extension guides you through the full workflow: selecting a script, entering package details, building the package, uploading it to Azure Artifacts, and showing the install command your team can use.

What this extension does

  • Prompts for all required package and feed details inside VS Code
  • Converts a Python script into a package-ready structure
  • Installs required Python packaging tools when needed
  • Updates ~/.pypirc with the repository and username for the selected feed
  • Builds the package with python -m build
  • Uploads the package with python -m twine upload
  • Optionally stores your PAT securely in VS Code Secret Storage for reuse

Before you start

Make sure you have:

  • VS Code installed
  • Python available on your machine
  • Access to an Azure Artifacts Python feed
  • A Personal Access Token (PAT) that can upload packages to that feed

How to use

  1. Open the Command Palette.
  2. Run Azure Artifacts: Package And Upload Python Tool.
  3. Select the Python script you want to package.
  4. Enter the requested details when prompted.
  5. Wait while the extension prepares the package, builds it, and uploads it.
  6. Copy the generated pip install command shown at the end.

Information you will be asked for

During the guided flow, the extension asks for:

  • Package name
  • Version
  • Azure Artifacts feed name
  • Azure Artifacts repository upload URL
  • Azure Artifacts username
  • PAT
  • Short package description
  • Output folder for the generated package structure
  • Python executable to use

What happens during packaging

After you provide the inputs, the extension:

  1. Ensures build, wheel, and twine are available for the selected Python executable.
  2. Updates ~/.pypirc with the selected feed settings.
  3. Creates the package structure in the output folder.
  4. Builds both source and wheel distributions.
  5. Uploads the result to your Azure Artifacts feed.

PAT handling

  • Your PAT is never written to ~/.pypirc.
  • The upload step passes the PAT through the environment only for the upload process.
  • You can save the PAT securely in VS Code Secret Storage and reuse it later.
  • If you save more than one PAT, you can clear them later from the command palette.

Commands

  • Azure Artifacts: Package And Upload Python Tool
  • Azure Artifacts: Clear Saved PATs

Install

Install from the VS Code Marketplace:

  1. Open the Extensions view in VS Code.
  2. Search for Azure Artifacts Package Automation.
  3. Select the extension and click Install.

CLI install:

code --install-extension Ajayakumar-Vijayakumar.azure-artifacts-package-automation
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft