Skip to main content

Poetry Azure Artifacts Plugin

Ruff pre-commit GitHub license PyPi versions PyPi downloads


This is a Poetry plugin that transparently takes care of authentication with Azure Artifacts feeds. This is heavily based on semgrep/poetry-codeartifact-plugin.

Usage

This plugin requires Python 3.9+ which is a bit less lenient than Poetry itself.

Install this plugin with

poetry self add poetry-azure-artifacts-plugin

or

pipx inject poetry poetry-azure-artifacts-plugin

In your pyproject.toml file, add your Azure Artifacts feed URL as a source.

[[tool.poetry.source]]
name = "ado"
url  = "https://pkgs.dev.azure.com/{organization}/_packaging/{feed}/pypi/simple/"
priority = "primary"

Now, when running poetry install, or poetry lock, Poetry will automatically fetch credentials for your Azure Artifacts feed, utilizing artifacts-keyring. Note: artifacts-keyring requires dotnet to be installed and available in your PATH.

This works by recognizing authentication failures to URLs containing pkgs.dev.azure.com or pkgs.visualstudio.com. If you have an on-premises Azure DevOps server that works with artifacts-keyring, instead make the source name include the text azure-artifacts:

[[tool.poetry.source]]
name = "azure-artifacts-feed"
url  = "https://devops.mydomain.com/{organization}/_packaging/{feed}/pypi/simple/"
priority = "primary"

Development

Use the provided devcontainer or run the following for local development:

# Install uv
# https://docs.astral.sh/uv/getting-started/installation/
uv tool install vscode-task-runner
vtr install

Release files for poetry-azure-artifacts-plugin 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poetry-azure-artifacts-plugin 0.2.0
File Size Uploaded
poetry_azure_artifacts_plugin-0.2.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poetry-azure-artifacts-plugin 0.2.0
File Interpreter ABI Platform
poetry_azure_artifacts_plugin-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size:6.9 kB

Release files / poetry_azure_artifacts_plugin-0.2.0.tar.gz

Download URL poetry_azure_artifacts_plugin-0.2.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6093624ca2dbf40777785e5f8f07cdbd84af2bf2744c306224574f59d22ea159
BLAKE2b-256 checksum
How to use checksums
6171291408166e11d43c64c591ab7b6b328b4efc5f15838103aacb8bd558400b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 11, 2026.

Transparency log

Release files / poetry_azure_artifacts_plugin-0.2.0-py3-none-any.whl

Download URL poetry_azure_artifacts_plugin-0.2.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77eb2eac1cc2df4c18f4732553af573326bba008baa888fca5ce1b3105de4a92
BLAKE2b-256 checksum
How to use checksums
c82812b9ce5f0ebe2963784cc2404a836b5d428f17a5857cf0a7be512fcaa864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page