azure-servicefabric
Microsoft Azure Service Fabric Client Library for Python
What it is and what it does
This is the Microsoft Azure Service Fabric client library, providing Python bindings to interact with Azure Service Fabric clusters via REST APIs. It allows you to programmatically deploy, manage, and monitor applications and services running on Service Fabric infrastructure, including operations for cluster upgrades, application lifecycle management, health monitoring, and load balancing configuration.
The library wraps Azure's Service Fabric management APIs and exposes them through Python classes and methods. It depends on msrest for HTTP communication and azure-common for shared Azure SDK utilities. The package is classified as production-stable and supports multiple Python versions from 2.7 through 3.9, though the last release dates to 2021-12-14.
Use it for:
- Automate Service Fabric cluster upgrades and validation as part of infrastructure-as-code workflows
- Deploy and manage microservices applications across Service Fabric clusters programmatically
- Monitor application health, partition load, and node status through cluster queries
- Update service configurations, scaling policies, and placement constraints without manual portal access
- Integrate Service Fabric operations into CI/CD pipelines for automated application lifecycle management
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Client library for programmatically managing Azure Service Fabric clusters, applications, and services through REST APIs.
Yes, if you are building Python tooling for Azure Service Fabric. The library is production-stable, has low install friction, and carries a permissive MIT license. However, the last release was in 2021-12-14; verify that its Python version support and API coverage meet your current needs before committing to a dependency on it.
Install
azure-servicefabric on PyPI
pip
pip install azure-servicefabricuv
uv add azure-servicefabricpoetry
poetry add azure-servicefabricInstalling azure-servicefabric
Before you install
Low install friction with three lightweight runtime dependencies (msrest, azure-common, azure-nspkg). Actively maintained with recent commits; repository remains active despite the last release dating to 2021-12-14.
License in practice
MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute this library freely provided you include the license notice.
Quickstart
pip install azure-servicefabric
from azure.servicefabric import ServiceFabricClient
from msrest.authentication import BasicAuthentication
client = ServiceFabricClient(endpoint='https://cluster-endpoint',
authentication=BasicAuthentication('user', 'pass'))
Requires a running Service Fabric cluster endpoint and valid authentication credentials to connect.
Verify before relying
- Whether Python 2.7 and 3.5 support claims remain accurate given the last release date of 2021-12-14
- Current compatibility with Python versions beyond 3.9 listed in classifiers
- Whether the API surface and operations documented in the release history remain current for your use case
Package facts
| License | MIT License (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — msrest, azure-common, azure-nspkg |
| Maintenance | actively maintained — 1,704 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,811,084/month — #3,530 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_servicefabric-8.2.0.0-py2.py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
azure-mgmt-servicefabricProvides Python client library for managing…
permissive · top 5,000 on PyPI
sfctlA command-line interface for managing Azure…
permissive · top 15,000 on PyPI
azure-mgmt-servicefabricmanagedclustersManages Azure Service Fabric Managed Clusters…
unclear · top 5,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI
azure-mgmt-msiManages Azure Managed Service Identities…
permissive · top 5,000 on PyPI
azure-mgmt-notificationhubsManages Azure Notification Hubs…
permissive · top 5,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-trafficmanagerProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-apimanagementProvides Python client library for managing…
permissive · top 5,000 on PyPI