apeye-core

1.1.5 · active · verified Sun Apr 12

apeye-core provides the core, offline-capable functionality for the broader `apeye` library. It acts as a foundational component, offering essential utilities that do not require network access. The library is actively maintained, with frequent minor releases mirroring PyPI updates.

Warnings

Install

Imports

Quickstart

apeye-core provides foundational, offline functionality. For most user-facing interactions, such as creating URL objects or utilizing API tools, you should typically use the higher-level `apeye` library, which depends on `apeye-core`. This quickstart demonstrates a core component (URL) as exposed by `apeye`.

import os
from apeye.url import URL

# apeye-core itself is primarily an internal dependency.
# Most user-facing functionality is exposed via the 'apeye' library.
# Here's an example of using a core component (URL) from 'apeye' that likely leverages apeye-core.

my_url = URL('https://example.com/api/data')
print(f"Created URL object: {my_url}")
print(f"URL scheme: {my_url.scheme}")
print(f"URL hostname: {my_url.hostname}")

# To see the full capabilities of apeye (which uses apeye-core),
# install 'apeye' and refer to its documentation for features like caching and rate limiting.
# pip install apeye

view raw JSON →