sfctl
Azure Service Fabric command line
What it is and what it does
sfctl is a command-line tool for interacting with Azure Service Fabric clusters. It provides commands to manage applications, services, nodes, partitions, replicas, and cluster configuration, as well as to query health states and retrieve events. The tool wraps the Azure Service Fabric SDK and presents cluster operations through a shell interface.
Typical usage involves connecting to a cluster endpoint, then issuing commands to deploy applications, manage services, inspect cluster health, and perform administrative tasks. It depends on knack for CLI framework, requests and msrest for HTTP communication, and Azure SDK libraries (msrestazure, azure-servicefabric, adal) for authentication and Service Fabric API access. The package is actively maintained and tracks Service Fabric runtime versions; version 11.2.1 uses the 8.2 SDK.
Use it for:
- Deploy and manage Service Fabric applications from the command line in CI/CD pipelines.
- Query cluster health, node status, and application state for monitoring and troubleshooting.
- Perform cluster upgrades, node management, and configuration overrides on Service Fabric clusters.
- Retrieve events and diagnostics from the EventStore service for cluster analysis.
- Manage Docker Compose deployments and mesh resources on Service Fabric.
- Automate application uploads with parallelized file transfer and compression options.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A command-line interface for managing Azure Service Fabric clusters, applications, services, and related entities through the sfctl command.
Yes. sfctl is a production-stable, actively maintained CLI for Azure Service Fabric with low install friction, no known vulnerabilities, and permissive licensing. Install it if you manage Service Fabric clusters or need to automate fabric operations; it is the standard tool for this purpose and integrates well with Azure tooling and CI/CD workflows.
Install
sfctl on PyPI
pip
pip install sfctluv
uv add sfctlpoetry
poetry add sfctlInstalling sfctl
Before you install
Low install friction with a pure Python wheel distribution. Actively maintained as of June 2026 with recent dependency updates in version 11.2.1. Supports Python 3.8–3.10 and has 13 runtime dependencies including knack, requests, and Azure SDK libraries.
License in practice
MIT license (permissive) places no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install sfctl
sfctl -h
Requires Python >3.8 and <4. Connection to an Azure Service Fabric cluster endpoint is needed for most commands; default is http://localhost:19080.
Verify before relying
- Whether all 13 runtime dependencies are required for basic cluster operations or if some are optional for specific features.
- Current compatibility with the latest Azure Service Fabric runtime versions beyond 8.2.
- Whether telemetry collection (added in version 7.0.0) can be disabled or opted out of.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4,>3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 13 — knack, requests, msrest, msrestazure, azure-servicefabric, adal, future, applicationinsights, psutil, portalocker, six, joblib, tqdm |
| Maintenance | actively maintained — 778 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 182,367/month — #10,102 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sfctl-11.2.1-py3-none-any.whl
Keywords: servicefabric, azure
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
azure-mgmt-servicefabricmanagedclustersManages Azure Service Fabric Managed Clusters…
unclear · top 5,000 on PyPI
azure-servicefabricClient library for programmatically managing…
permissive · top 5,000 on PyPI
azure-mgmt-servicefabricProvides Python client library for managing…
permissive · top 5,000 on PyPI
knackKnack is a Python framework for building…
permissive · top 5,000 on PyPI
fabric-cicdAbstracts Microsoft Fabric API interactions for…
permissive · top 15,000 on PyPI
ClusterShellClusterShell is a Python framework for running…
copyleft · top 15,000 on PyPI
patchworkPatchwork provides idempotent Unix system…
permissive · top 15,000 on PyPI
onyx-devtoolsA command-line utility that provides developer…
permissive · top 15,000 on PyPI
ms-fabric-cliA command-line interface for Microsoft Fabric…
unclear · top 15,000 on PyPI
fabricFabric executes shell commands remotely over…
permissive · top 5,000 on PyPI