skillfed

apeye

Handy tools for working with URLs and APIs.

apeye v1.4.1 856.5K downloads/30d#4,888 on PyPI1
Copyleft license Active released

What it is and what it does

apeye is a utility library for working with URLs and HTTP APIs in Python. It provides three main tools: pathlib-like URL objects that let you construct and manipulate URLs with familiar path-like syntax, a JSON-backed cache decorator to avoid redundant function calls, and a CacheControl adapter that integrates with requests to rate-limit HTTP requests. The package wraps requests and related utilities to make common API and URL-handling patterns more convenient.

It's designed for developers building HTTP clients, API wrappers, or tools that need to manage URL construction, response caching, or request throttling. The library supports Python 3.6 and later, including PyPy, and is actively maintained. Most functionality is available out of the box; rate-limiting via the rate_limiter module requires an optional 'limiter' extra.

Use it for:

  • Build API client libraries with URL construction and request rate-limiting built in
  • Cache expensive API calls to avoid redundant network requests during development or testing
  • Construct and manipulate URLs programmatically using a familiar pathlib-like interface
  • Throttle HTTP requests to respect API rate limits or reduce server load
  • Combine URL handling, caching, and rate control in a single dependency

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

apeye provides pathlib-like URL objects, a JSON-backed cache decorator, and a CacheControl adapter for rate-limiting HTTP requests.

Yes. apeye is actively maintained, has low install friction, no known vulnerabilities, and solves a real problem for API and URL-heavy code. The copyleft license (LGPLv3+) is a consideration if you're building proprietary software, but poses no issue for open-source or internal tools. Install it if you need convenient URL handling, response caching, or request rate-limiting in an HTTP client.

Install

apeye on PyPI

pip

pip install apeye

uv

uv add apeye

poetry

poetry add apeye

Installing apeye

Before you install

Low install friction with a pure-wheel distribution. Actively maintained with recent commits; supports Python 3.6 through 3.11 and PyPy.

License in practice

Licensed under LGPLv3+, a copyleft license requiring derivative works to be licensed under compatible terms and source code to be made available.

Quickstart

pip install apeye

from apeye import URL
url = URL('https://api.example.com') / 'endpoint'
response = url.get()

Rate-limiting via the rate_limiter module requires the optional 'limiter' extra to be installed separately.

Verify before relying

  • Whether the rate_limiter module's optional 'limiter' extra adds significant functionality or is rarely needed
  • Performance characteristics when caching large API responses or handling high request volumes

Package facts

License not declared (copyleft)
Python support supports the current Python release (>=3.6.1)
Install friction low — pure-Python wheel
Runtime dependencies 4 — apeye-core, domdf-python-tools, platformdirs, requests
Maintenance actively maintained — 1,096 days since the last release
Last repo commit
First released
Downloads 856,504/month — #4,888 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: apeye-1.4.1-py3-none-any.whl

Keywords: api, cache, requests, rest, url

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

url handling pathlib-likehttp request cachingapi rate limitingjson cache decoratorrest client utilitiesrequest rate controlurl manipulation tools
http-clientcachingrate-limiting

More Python Modules packages