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.2.tar.gz (25.3 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.2-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: garf_core-1.2.2.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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.2.tar.gz
Algorithm Hash digest
SHA256 47fea2282e623aa685408cb11050be9bd6f5edee0d75fa663d115a7a54c75e72
MD5 0a410ac19bfb7d2aa902201324a06f8d
BLAKE2b-256 6d63e5f675ec3449e9bba3eba79e72a56203422b4a4d7c7970049844a6533a9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: garf_core-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 43.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7912814a73fac4400d7c4f61ceacecfd27ebb3dfc8fa16d7a0a5e597e627ba57
MD5 424df6290578617c45366a94cd38aa1f
BLAKE2b-256 19e8718a329582ed8f6980c0f007b137ca242dbb0e2b4079e2a2bdafef73ab1f

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