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.4.0.tar.gz (18.9 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.4.0-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for garf_core-0.4.0.tar.gz
Algorithm Hash digest
SHA256 10cd516ee0b10cdf70a688a7b56dde5996c025d8801f159afa7df62804c4885b
MD5 0040bdf75f1eba783e5f83f99766c360
BLAKE2b-256 2bf656659d94369082efd0e8b7cf249365b3b2766f91ee98880372bedc59a629

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for garf_core-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71a89307992dcd44213fe7743de8dd0bf022ae718f6aa96d1f4c57a16f6c8938
MD5 b5253cda6d5778ad3a58543ef12841fe
BLAKE2b-256 e3251458fa967b7c0a8ade90dc7458a04712e1e39bae613e37df6c711a80dbeb

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