etcd-sdk-python
Python client for the etcd v3 API for python >= 3.8
What it is and what it does
etcd-sdk-python is a gRPC-based client for etcd v3 that wraps the etcd API in a Pythonic interface. It lets you perform basic key-value operations (get, put, delete), acquire and release distributed locks with context manager support, execute conditional transactions with compare-and-swap semantics, and watch individual keys or key prefixes for changes either via iterators or callback functions.
The package is a thin wrapper around etcd's gRPC protocol, so it inherits etcd's semantics directly. It is maintained but aging—the last commit was in August 2025 with no release for 375 days—so you should verify compatibility with your etcd version before relying on it in production.
Use it for:
- Implement distributed locks across multiple Python processes or services using etcd as the coordination backend.
- Watch etcd keys for configuration changes and react to updates in real time via callbacks or polling.
- Build conditional state machines using etcd transactions to atomically update multiple keys based on version or value checks.
- Store and retrieve shared configuration or service discovery metadata in etcd from Python applications.
- Coordinate leader election or job scheduling by reading and writing to etcd with transactional guarantees.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client for etcd v3 API that provides key-value operations, distributed locks, transactions, and key watching via gRPC.
Yes, if you need a Python etcd v3 client and can verify compatibility with your etcd version. Low install friction, no security vulnerabilities, and permissive licensing make it a straightforward choice. The aging maintenance status (no release in 375 days) is a caution: monitor the repository for compatibility issues with newer etcd or gRPC versions before deploying to production.
Install
etcd-sdk-python on PyPI
pip
pip install etcd-sdk-pythonuv
uv add etcd-sdk-pythonpoetry
poetry add etcd-sdk-pythonInstalling etcd-sdk-python
Before you install
Low install friction; depends only on grpcio. Maintenance status is aging—last commit was 2025-08-04 and no release in 375 days, so expect slower response to issues or breaking changes.
License in practice
Licensed under Apache Software License (permissive), so you can use, modify, and distribute the package freely in most contexts without restriction.
Quickstart
pip install etcd-sdk-python
import etcd_sdk_python
etcd = etcd_sdk_python.client()
etcd.put('foo', 'bar')
value = etcd.get('foo')
Requires Python >= 3.8 and a running etcd v3 server to connect to.
Verify before relying
- Whether the package works with recent etcd v3 versions or if protocol changes have broken compatibility.
- Performance characteristics and scalability limits for watch operations and transactions.
- Whether grpcio version constraints exist beyond what pip resolves automatically.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — grpcio |
| Maintenance | aging — 375 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 250,098/month — #8,640 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: etcd_sdk_python-0.0.7-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
etcd3Python client library for etcd v3 that provides…
permissive · top 15,000 on PyPI
python-etcdA Python client library for etcd, a distributed…
permissive · top 15,000 on PyPI
etcd-distroetcd-distro packages the etcd key-value store…
permissive · top 15,000 on PyPI
PyMySQLLockProvides distributed locking primitives backed…
permissive · top 15,000 on PyPI
locketLocket provides file-based locks for…
permissive · top 1,000 on PyPI
fastenersProvides cross-platform locks for synchronizing…
permissive · top 5,000 on PyPI
redlock-pyImplements Redis-based distributed locks using…
permissive · top 15,000 on PyPI
python-dynamodb-lockProvides distributed locking on top of DynamoDB…
permissive · top 15,000 on PyPI