python-consul
Python client for Consul (http://www.consul.io/)
Decision gist · record as of 2026-08-14
No. While the package has low install friction and a permissive license, it is abandoned (last release 2018-07-09, repository archived 2024) with no active maintenance or security updates. For new projects, use an actively maintained Consul client library or the official Consul API directly. For legacy systems already using python-consul, evaluate migration urgently.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- When using python-consul in an environment with a proxy server, http_proxy, https_proxy, and no_proxy environment variables may need to be set for proper functionality.
- Low install friction with only two lightweight runtime dependencies (requests and six).
- However, the package is abandoned—last release was 2018-07-09 and the repository was archived in 2024.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and places minimal restrictions on use, modification, and distribution. You can use this package in commercial and proprietary projects without licensing obligations.
last release 2018-07-09 (2958 days) · last repo commit 2024-04-15 · 458 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,990,190 downloads/mo, #3,382 on PyPI
Alternatives
Verify before relying
pip install python-consul
import consul
c = consul.Consul()
index, data = c.kv.get('foo', index=None)
print(data['Value'])
c.kv.put('foo', 'bar')- Current compatibility with modern Consul server versions (package last updated 2018, Consul has evolved significantly since)
- Whether requests and six dependencies remain compatible with current Python versions despite package age
- Active security vulnerabilities or compatibility issues that may have emerged since abandonment in 2024
What it is and what it does
python-consul is a Python client library for HashiCorp Consul, a distributed system for service discovery, configuration management, and orchestration. It exposes Consul's HTTP API through Python methods, allowing you to interact with Consul's key-value store, register and deregister services, query health checks, manage ACLs, and access the agent and catalog endpoints from your Python applications.
The library works by wrapping HTTP requests to a Consul server instance using the requests library. It provides a simple, object-oriented interface—for example, you can poll a key for updates in a loop or atomically write configuration values. However, the package has been abandoned since 2018 with no active maintenance, meaning it may not support recent Consul API features or receive security updates.
Use it for
- Build service discovery clients that query Consul's catalog to locate available services and their network addresses
- Implement distributed configuration management by reading and writing key-value pairs in Consul from Python applications
- Register and deregister application instances with health checks as part of a service mesh or microservices architecture
- Monitor service health by querying Consul's health check endpoints and reacting to state changes
- Manage ACL tokens and policies programmatically for access control in a Consul cluster
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
While the package has low install friction and a permissive license, it is abandoned (last release 2018-07-09, repository archived 2024) with no active maintenance or security updates. For new projects, use an actively maintained Consul client library or the official Consul API directly. For legacy systems already using python-consul, evaluate migration urgently.
Install
python-consul on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (requests and six). However, the package is abandoned—last release was 2018-07-09 and the repository was archived in 2024. No active maintenance or security updates are being provided.
When using python-consul in an environment with a proxy server, http_proxy, https_proxy, and no_proxy environment variables may need to be set for proper functionality.
License in practice
MIT license is permissive and places minimal restrictions on use, modification, and distribution. You can use this package in commercial and proprietary projects without licensing obligations.
Quickstart
pip install python-consul
import consul
c = consul.Consul()
index, data = c.kv.get('foo', index=None)
print(data['Value'])
c.kv.put('foo', 'bar')
Verify before relying
- Current compatibility with modern Consul server versions (package last updated 2018, Consul has evolved significantly since)
- Whether requests and six dependencies remain compatible with current Python versions despite package age
- Active security vulnerabilities or compatibility issues that may have emerged since abandonment in 2024
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesrequestssix |
| Maintenance | Abandoned 2,958 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 1,990,190 / month, #3,382 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6 |
Evidence: python_consul-1.1.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “consul service catalog”
- python-consulPython client library for Consul, a service discovery and…
- py-consulPython client library for HashiCorp Consul that provides programmatic…
- python-consul2Python client library for Consul, providing programmatic access to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also consulate · py-consul · python-consul2 · python-etcd · google-cloud-datacatalog · patroni · google-cloud-os-config · msldap · grpcio-csds