python3-etcd3
A Python client library for etcd version 3, modernized for Python 3.8+.
About This Project
This project is a Python 3 modernization of kragniz/python-etcd3.
The original project has not been actively maintained and had compatibility issues with newer Python versions and gRPC. This fork provides:
- Python 3.8+ compatibility (removed Python 2 support)
- Modern Python syntax with type annotations
- Updated gRPC compatibility for newer versions
- Modern packaging with pyproject.toml
- Code quality improvements with ruff formatting
Credit: All core functionality and original implementation credit goes to Louis Taylor and the original contributors of python-etcd3.
Features
- Full etcd3 API support via gRPC
- Asynchronous operations
- Distributed locking
- Key watching capabilities
- Lease management
- Transaction support
- Cluster management
Installation
pip install python3-etcd3
Quick Start
import etcd3
etcd = etcd3.client()
# Put a key
etcd.put('key', 'value')
# Get a key
value, metadata = etcd.get('key')
print(value)
# Watch for changes
watch_iterator, cancel = etcd.watch('key')
for event in watch_iterator:
print(event)
Requirements
- Python 3.8+
- grpcio
- protobuf
Contributing
This project focuses on maintaining Python 3 compatibility and modern Python practices. For major feature additions, please consider contributing to the original project first.
License
Apache License 2.0 (same as original project)
Metadata
Release files for python3-etcd3 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python3_etcd3-0.13.0.tar.gz | 38.7 kB | Without provenance | Details for python3_etcd3-0.13.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python3_etcd3-0.13.0-py3-none-any.whl | Python 3 | none | any | Details for python3_etcd3-0.13.0-py3-none-any.whl |
Total release size: 80.5 kB
Release files / python3_etcd3-0.13.0.tar.gz
| Download URL | python3_etcd3-0.13.0.tar.gz |
|---|---|
| Size | 38.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7e3a07dd43aa7d2a82c2a491e0fc9d432da185cb6720858cfb4031418704ce3
|
|
BLAKE2b-256 checksum How to use checksums |
1d37918773deb8e7e64787a2e955777520f524e98fe00363c96a5d7238cb2871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / python3_etcd3-0.13.0-py3-none-any.whl
| Download URL | python3_etcd3-0.13.0-py3-none-any.whl |
|---|---|
| Size | 41.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d94a1c1b311e0752f0c3eee020e7c4c0e1fd5163f27fb3198a211c4ffafc944
|
|
BLAKE2b-256 checksum How to use checksums |
8851dd39aef742bfa909ed6d174d776da3e8cfa57eb4349b91dcc0d2b4b8bc42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for python3-etcd3 0.13.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.