Registry / azure / vsts
library0.1.25pypypiunverified

The `vsts` library was the original Python wrapper for Visual Studio Team Services (now Azure DevOps) APIs. As of version 0.1.25, it is deprecated and no longer maintained. Microsoft recommends migrating to the `azure-devops` library, which follows the Azure SDK guidelines and supports new API versions. The latest azure-devops release is 7.1.0b4.

pip install vsts==0.1.25
INSTALL
IMPORT
SIG · VSTS
V
vsts
azurepythonv0.1.25
Install
4.0s avg
Import
1110ms
Disk
49MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.25 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.730s · 50.7MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.0s · import 0.602s · 51MB
49MB installed
● package 49MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VssConnection
from vsts.connection import VssConnection
from vsts.vss_connection import VssConnection

Connect to Azure DevOps (formerly VSTS) using a PAT. Note: This library is deprecated; prefer 'azure-devops'.

from vsts.vss_connection import VssConnection from msrest.authentication import BasicAuthentication personal_access_token = os.environ.get('AZURE_DEVOPS_PAT', '') organization_url = 'https://dev.azure.com/myorg' credentials = BasicAuthentication('', personal_access_token) connection = VssConnection(base_url=organization_url, creds=credentials) wit_client = connection.get_client('vsts.work_item_tracking.v4_1.work_item_tracking_client.WorkItemTrackingClient') print(wit_client.get_work_item(1))
Debug
Known issues
deprecatedThe vsts library is deprecated and no longer maintained. Use azure-devops instead.
fix
Replace vsts with azure-devops. See https://github.com/microsoft/azure-devops-python-api
affects: all
breakingvsts 0.1.25 is incompatible with Python 3.12 due to missing dependencies (e.g., 'collections' module removed).
fix
Upgrade to azure-devops 7.1.0b4 or later which supports Python 3.12.
affects: 0.1.25
gotchaImport paths in vsts are deeply nested and version-specific (e.g., vsts.work_item_tracking.v4_1). Many online examples omit the version subpackage.
fix
Always include the full import path with version, e.g., from vsts.work_item_tracking.v4_1.work_item_tracking_client import WorkItemTrackingClient
affects: all
gotchaAuthentication requires 'msrest' library's BasicAuthentication. Using Personal Access Token requires empty username.
fix
Use: from msrest.authentication import BasicAuthentication; credentials = BasicAuthentication('', pat)
affects: all
Upgrade
Version history
0.1.25latest on PyPI · released Jan 15, 2019
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
32
OpenAI (training)
1
Resources
vsts — pip install vsts · libregistry