- .forgejo/workflows/test.yaml: offline tests on Python 3.10 and 3.13 - LICENSE: Target Revenue Source License V1C1 (org-wide preliminary licence) - pyproject: license field; AGENTS/SCOPE: CI and licence facts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 153021@bnt-lap001 Assistant-Session: 46917be4-6400-4106-b8b7-61953a0caf24
13 lines
605 B
Python
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.2.0"
|