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

Documentation

Explore full documentation on working with 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-1.2.0.tar.gz (24.7 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-1.2.0-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: garf_core-1.2.0.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8ce951d9446f3ac459aae0992faff521a84193f1df4c0c124aa4dc936834a6b3
MD5 8f20b8f9d37fea10dbcdb4cb9cfafd7b
BLAKE2b-256 cc06454aab8322b89cb2e61a1fdd382ea073b6de5c1661f141df64cc47aff059

See more details on using hashes here.

File details

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

File metadata

  • Download URL: garf_core-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2434a6b104a9acb8f858adfc7968fcda3a8f3ff3ada797ece1f967852e39aa98
MD5 43449531f7eccd46b4589a9bf9d9dcfd
BLAKE2b-256 e94d2e808420f2a860216bc6549e44915ae6fc6895be41ee52e6af4116c7ffa2

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