A Python client for the Hyperping API with synchronous and asynchronous support, built on Pydantic v2 models.
Built and maintained by Develeap. Published on PyPI. Source code on GitHub.
pip install hyperpingGenerate an API token from Settings → API in the Hyperping dashboard.
from hyperping import HyperpingClient
client = HyperpingClient(api_key="sk_...")from hyperping import HyperpingClient, MonitorCreate
client = HyperpingClient(api_key="sk_...")
# List all monitors
monitors = client.list_monitors()
for m in monitors:
print(f"{m.name}: {'down' if m.down else 'up'}")
# Create a monitor
created = client.create_monitor(
MonitorCreate(name="API Health", url="https://api.example.com/health")
)import asyncio
from hyperping import AsyncHyperpingClient
async def main():
async with AsyncHyperpingClient(api_key="sk_...") as client:
monitors = await client.list_monitors()
for m in monitors:
print(f"{m.name}: {'down' if m.down else 'up'}")
asyncio.run(main())All API responses are returned as Pydantic v2 models with full type hints. This gives you autocompletion in your editor and runtime validation of API responses.