skillfed

etcd-sdk-python

Python client for the etcd v3 API for python >= 3.8

etcd-sdk-python v0.0.7 250.1K downloads/30d#8,640 on PyPI13
Permissive license AGING released

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-python

uv

uv add etcd-sdk-python

poetry

poetry add etcd-sdk-python

Installing 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

License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

etcd python clientdistributed key-value storeetcd v3 apipython grpc etcddistributed locks pythonetcd watch keysetcd transactions
distributed-systemsgrpccoordination

More Distributed Computing packages