Skip to content

Overview

PyPI Downloads PyPI

garf-core contains the base abstractions are used by an implementation for a concrete reporting API.

These abstractions are designed to be as modular and simple as possible:

  • BaseApiClient - an interface for connecting to APIs.
  • BaseParser - an interface to parse results from the API.
  • ApiReportFetcher - responsible for fetching and parsing data from reporting API.
  • GarfReport - contains data from API in a format that is easy to write and interact with.
  • QuerySpecification - parsed SQL-query into various elements.
  • BaseQuery - protocol for all class based queries.

Installation

pip install garf-core
uv pip install garf-core