$npx skillfedfor your agent

py-consul

Python client for Consul (http://www.consul.io/)

Worth itPyPI Distributed ComputingReleased Nov 20251.2M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_consul-1.7.1-py2.py3-none-any.whl
v1.7.1 · released 2025-11-24 · Python >=3.10 · 1 runtime deps: requests

Yes. py-consul is actively maintained, has no known vulnerabilities, installs with minimal friction, and is the primary maintained Python client for Consul. Install it if you need to integrate Consul into a Python application for service discovery, configuration management, or health monitoring. The MIT license poses no restrictions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • When using behind a proxy server, http_proxy, https_proxy, and no_proxy environment variables may need to be set.
  • Low friction installation with a single runtime dependency (requests).

License · maintenance · safety

MIT (permissive) — MIT license (permissive) allows use in both open-source and commercial projects with minimal restrictions.

last release 2025-11-24 (263 days) · last repo commit 2026-07-06 · 82 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,221,815 downloads/mo, #4,200 on PyPI

Verify before relying

pip install py-consul

import consul

c = consul.Consul()
index, data = c.kv.get('foo')
print(data['Value'])
  • Whether all Consul 1.20–1.22 endpoints are fully implemented or if some remain partially handled as the description suggests.
  • Async API capabilities and whether they are production-ready or still experimental.
  • Performance characteristics and connection pooling behavior with requests.
Same gist for agents: .md · .json

What it is and what it does

py-consul is a Python client for HashiCorp Consul, a distributed service mesh and configuration management system. It wraps Consul's HTTP API to let you interact with Consul's key-value store, service registration and discovery, health checks, and access control lists (ACLs) from Python code. The library supports both synchronous and asynchronous patterns and is maintained by Criteo as an active fork of the original python-consul project, which has been unmaintained since 2018.

The package is designed for developers building applications that need to integrate with Consul for service discovery, distributed configuration, or health monitoring. It handles the HTTP communication with a Consul agent and provides a clean Python interface to common operations like storing and retrieving configuration values, registering services, querying service health, and managing ACL policies and tokens.

Use it for

  • Store and retrieve application configuration from Consul's key-value store with watch-based polling for updates.
  • Register microservices in Consul's service catalog and query for healthy instances of dependent services.
  • Manage ACL tokens and policies programmatically for fine-grained access control in a Consul cluster.
  • Monitor service health by querying Consul's health check endpoints and reacting to state changes.
  • Implement service-to-service authentication and authorization using Consul Connect policies.
  • Build configuration management tools that synchronize settings across distributed systems via Consul.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

py-consul is actively maintained, has no known vulnerabilities, installs with minimal friction, and is the primary maintained Python client for Consul. Install it if you need to integrate Consul into a Python application for service discovery, configuration management, or health monitoring. The MIT license poses no restrictions.

Install

py-consul on PyPI

Before you install

Low friction installation with a single runtime dependency (requests). Actively maintained by Criteo with recent releases; supports Python 3.10 through 3.14. Last commit was 2026-07-06.

Requires Python 3.10 or later. When using behind a proxy server, http_proxy, https_proxy, and no_proxy environment variables may need to be set.

License in practice

MIT license (permissive) allows use in both open-source and commercial projects with minimal restrictions.

Quickstart

pip install py-consul

import consul

c = consul.Consul()
index, data = c.kv.get('foo')
print(data['Value'])

Verify before relying

  • Whether all Consul 1.20–1.22 endpoints are fully implemented or if some remain partially handled as the description suggests.
  • Async API capabilities and whether they are production-ready or still experimental.
  • Performance characteristics and connection pooling behavior with requests.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
requests
MaintenanceActively maintained 263 days since the last release
Last repo commit
First released
Downloads1,221,815 / month, #4,200 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: py_consul-1.7.1-py2.py3-none-any.whl

Tags

Capabilities
consul python clientconsul key-value store apiservice discovery pythonconsul health checksdistributed configuration managementconsul acl managementconsul agent client
Topics
service-discoveryconsul-clientdistributed-systems

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

  • py-consulPython client library for HashiCorp Consul that provides programmatic…
  • python-consul2Python client library for Consul, providing programmatic access to…
  • consulateConsulate is a Python client library for Consul, providing…

Give your agent the search over MCP, or paste the wish link into any chat.

More Distributed Computing packages

grpcio Worth it
PyPI · Distributed Computing · released Jul 2026

gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.

Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.

Apache-2.0compiled wheel · 3.10+
446.4Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

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…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
cloudpickle Worth it
PyPI · Scientific/Engineering · released Nov 2025

Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.

Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.

BSD-3-Clausepure Python · 3.8+
148.4Mdownloads / mo
smart-open Worth it
PyPI · Distributed Computing · released Jul 2026

Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.

Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.

MITpure Python
72.8Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo
ray Worth it
PyPI · Distributed Computing · released Aug 2026

Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.

permissive licensecompiled wheel · 3.10+
63.3Mdownloads / mo

See also python-consul · consulate · python-consul2 · fastly · hvac · python-barbicanclient · patroni · nebius · azure-keyvault-secrets