web-fetcher/web_fetcher/__init__.py
2026-10-13 14:04:02 +02:00

13 lines
605 B
Python

"""web-fetcher: reusable, provenance-first fetching of web and API data for research.
Every fetch returns Observation records that say where a value came from
(URL), when it was retrieved, and a hash of the raw payload, so downstream
research can cite and re-verify it. Values are never estimated: a fetch either
yields a sourced value or an explicit `not_found` / `error` record.
"""
from web_fetcher.core import Observation, fetch_bytes
from web_fetcher.registry import ADAPTERS, run_spec, run_specs
__all__ = ["Observation", "fetch_bytes", "ADAPTERS", "run_spec", "run_specs"]
__version__ = "0.1.0"