$npx skillfedfor your agent

httsleep

A python library for polling HTTP endpoints - batteries included!

SkipPyPI WWW/HTTPReleased Nov 2018176.9K downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — httsleep-0.3.1-py2.py3-none-any.whl
v0.3.1 · released 2018-11-04 · 2 runtime deps: jsonpath-rw, requests

No. The package is abandoned (last commit 2018-11-04, no activity since). Its classifiers list Python 2.7 through 3.7 support, and compatibility with current Python versions is untested. For new projects, consider a maintained alternative. If you have legacy code already using httsleep, it may still work, but do not adopt it for new work.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation is straightforward with low friction—pure Python wheel with only two runtime dependencies.
  • However, the package is abandoned; the last commit was 2018-11-04 and no maintenance has occurred since.

License · maintenance · safety

Apache (permissive) — Licensed under Apache (permissive), so you can use it freely in commercial and private projects without viral obligations, though you must include a copy of the license.

last release 2018-11-04 (2840 days) · last repo commit 2018-11-04 · 48 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 176,893 downloads/mo, #10,230 on PyPI

Verify before relying

pip install httsleep

from httsleep import httsleep, Alarm

until = {'status_code': 200, 'jsonpath': [{'expression': 'status', 'value': 'OK'}]}
alarms = [{'status_code': 404}]
try:
    response = httsleep('http://myendpoint/jobs/1', until, alarms=alarms, max_retries=20)
except Alarm as e:
    print("Alarm matched:", e.alarm)
  • Whether httsleep works reliably on Python versions after 3.7, given the last release predates those versions
  • Whether jsonpath-rw and requests dependencies have known security issues or breaking changes since 2018-11-04
Same gist for agents: .md · .json

What it is and what it does

httsleep is a polling library that repeatedly calls an HTTP endpoint until your success conditions are satisfied or an alarm condition fires. You define what success looks like (e.g., status code 200 and a specific JSON field value), set optional alarm conditions that should halt polling early (e.g., a 404 or an error flag in the response), and call the library with a URL and retry limit. It uses jsonpath-rw to match nested JSON fields and requests to make the actual HTTP calls.

The library is designed for scenarios where you need to wait for an asynchronous operation—like a background job or a provisioning task—to complete. You can attach callbacks to alarm conditions to add custom logic. If a success condition is met, you get the response; if an alarm fires, you get an exception with the response and the alarm that triggered it.

Use it for

  • Poll a job-status endpoint until a background task completes or fails, with early exit on error codes
  • Wait for a service to become healthy after deployment, checking both HTTP status and response body fields
  • Monitor an async operation with custom callbacks that decide whether to treat a response as a real failure
  • Test HTTP endpoints in integration tests by polling until expected state is reached or timeout occurs

Worth the install?

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

Skip

No.

The package is abandoned (last commit 2018-11-04, no activity since). Its classifiers list Python 2.7 through 3.7 support, and compatibility with current Python versions is untested. For new projects, consider a maintained alternative. If you have legacy code already using httsleep, it may still work, but do not adopt it for new work.

Install

httsleep on PyPI

Before you install

Installation is straightforward with low friction—pure Python wheel with only two runtime dependencies. However, the package is abandoned; the last commit was 2018-11-04 and no maintenance has occurred since.

License in practice

Licensed under Apache (permissive), so you can use it freely in commercial and private projects without viral obligations, though you must include a copy of the license.

Quickstart

pip install httsleep

from httsleep import httsleep, Alarm

until = {'status_code': 200, 'jsonpath': [{'expression': 'status', 'value': 'OK'}]}
alarms = [{'status_code': 404}]
try:
    response = httsleep('http://myendpoint/jobs/1', until, alarms=alarms, max_retries=20)
except Alarm as e:
    print("Alarm matched:", e.alarm)

Verify before relying

  • Whether httsleep works reliably on Python versions after 3.7, given the last release predates those versions
  • Whether jsonpath-rw and requests dependencies have known security issues or breaking changes since 2018-11-04

Package facts

LicenseApache permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
jsonpath-rwrequests
MaintenanceAbandoned 2,840 days since the last release
Last repo commit
First released
Downloads176,893 / month, #10,230 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Evidence: httsleep-0.3.1-py2.py3-none-any.whl

Tags

Capabilities
http polling libraryretry with conditionsjsonpath response matchingpolling with alarmshttp endpoint pollingwait for http responseconditional http retry
Topics
pollingabandoned

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 › “http polling library”

  • httsleephttsleep polls HTTP endpoints repeatedly until a success condition is…
  • azure-mgmt-coreProvides ARM-specific extensions to Azure Core for use by Azure…
  • gripcontrolImplements the GRIP (Generic Real-time Interoperability Protocol)…

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

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also polling2 · waiter · waiting · busypie · http-exceptions · python-retry · jsonpath-rw · retryhttp · total-connect-client · jsonpath-python