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.2.2.tar.gz (17.6 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.2.2-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: garf_core-0.2.2.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.22

File hashes

Hashes for garf_core-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7a83bbe1142cba0757e5c44dd973c1d9318825f352602729552b0309acf87896
MD5 95ffcfe20b0bf570aad453548c30c537
BLAKE2b-256 ac01c9904bde789d0d3212f269783597f3071355d70fb6a814c8b69993bb174e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: garf_core-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.22

File hashes

Hashes for garf_core-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14ccb41b8176eea556410d4e685c4a31e05670978f509d4874b2dca1ef45f14b
MD5 dd792779353979f432e512b66d184dcb
BLAKE2b-256 07ae3e16be2b805f2c3ec8ff250ac7ff57d1c7d48333ea7113c6624d66ee01c4

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