Skip to main content

Abstracts fetching data from API based on provided SQL-like query.

Project description

garf-core - Unified approach for interacting with reporting APIs.

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. Check default implementations

  • BaseParser - an interface to parse results from the API. Check default implementations

  • ApiReportFetcher - responsible for fetching and parsing data from reporting API. Default implementations

  • QuerySpecification - parsed SQL-query into various elements.

  • BaseQuery - protocol for all class based queries.

  • GarfReport - contains data from API in a format that is easy to write and interact with.

Installation

pip install garf-core

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

garf_core-0.1.5.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

garf_core-0.1.5-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file garf_core-0.1.5.tar.gz.

File metadata

  • Download URL: garf_core-0.1.5.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for garf_core-0.1.5.tar.gz
Algorithm Hash digest
SHA256 198c7f5383858f3a063095fee827e32415545e04f99e029cdd1e066a4ee64028
MD5 2ba066f29b4d4364feaefe9af86bd116
BLAKE2b-256 a20ce4c951473c333b005f43666e1e2598c62427f526e7d02b0cbb150fe5cd79

See more details on using hashes here.

File details

Details for the file garf_core-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: garf_core-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for garf_core-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 26b77a02e52346c34c557b46a933f89a2a12726a80afae19d2ae8b8a61c6916b
MD5 7e991e31d4de94008906e2ba88ac25b6
BLAKE2b-256 6a448196e45dfecad177ee07a826d15515651f9243776de5a9d1450c870b9f30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page