apeye-core
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
- gotcha `apeye-core` is primarily intended as an internal dependency for the `apeye` library. End-users seeking functionality for working with URLs, APIs, caching, or rate limiting should typically install and use the `apeye` library, not `apeye-core` directly.
- gotcha The release notes for `apeye-core` often simply state 'Automatically copied from PyPI', providing minimal detail about specific changes or potential breaking changes between minor versions. Users should exercise caution and review changes if upgrading across several minor versions.
Install
-
pip install apeye-core -
conda install -c conda-forge apeye-core
Imports
- URL
from apeye.url import URL
Quickstart
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