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.8.0.tar.gz (21.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.8.0-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: garf_core-0.8.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for garf_core-0.8.0.tar.gz
Algorithm Hash digest
SHA256 691413a34b027b247ba3841dbdb340cfbb585576d38ae039dca510af1695cc5e
MD5 96dda57ae89ed1b96d439c52b8e4806a
BLAKE2b-256 f1f856c18880b4c531e1dda954d55b69946b7e6fdfc95fedf60a474fe19ed289

See more details on using hashes here.

File details

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

File metadata

  • Download URL: garf_core-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for garf_core-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2db8b3cff6927c749b87606fde45bf6d03440d352a14e0b8dd7956fdd69cc107
MD5 9bbbee978fab565abd4ff6cc3dd0f4b3
BLAKE2b-256 cbbd22d3149e62b4567da3df0b48d7a8e4de3d8d6498fe4321de6644fe38e1ec

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