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.3.2.tar.gz (18.4 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.3.2-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for garf_core-0.3.2.tar.gz
Algorithm Hash digest
SHA256 5d75f60b21115e13a8f7f0d3a265bea9d0ded6d1c5f6787ed3528e367a2d44dd
MD5 c4c7f720823ff5a8dd2ab8f6f9532871
BLAKE2b-256 2f04c8237eb171799782db9d9d0f1a98392beea957433e8c465d69d4cc4aaa99

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for garf_core-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 790a28ce8968d45612bacd1600ea40c0b5700eaded4323d863b4d0fd156be2bf
MD5 5c7c0b9fc7edd1e3b1981f89b476c4d1
BLAKE2b-256 49d8ccb337f619920a9a48ce48f23198f9b46acd7c1c74b2ea6b6fc0625e117d

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