garf-executors - One stop-shop for interacting with Reporting APIs.
garf-executors is responsible for orchestrating process of fetching from API and storing data in a storage.
Currently the following executors are supports:
ApiExecutor- fetching data from reporting API and saves it to a requested destination.BigQueryExecutor- executes SQL code in BigQuery.SqlExecutor- executes SQL code in a SqlAlchemy supported DB.
Installation
pip install garf-executors
Usage
After garf-executors is installed you can use garf utility to perform fetching.
garf <QUERIES> --source <API_SOURCE> \
--output <OUTPUT_TYPE> \
--source.params1=<VALUE>
where
<QUERIES>- local or remote path(s) to files with queries.source- type of API to use. Based on that the appropriate report fetcher will be initialized. Explore supported APIs hereoutput- output supported bygarf-iolibrary.
If your report fetcher requires additional parameters you can pass them via key value pairs under --source. argument, i.e.--source.regionCode='US' - to get data only from US.
Concrete
--sourceparameters are dependent on a particular report fetcher and should be looked up in a documentation for this fetcher.
Documentation
Explore full documentation working with garf-executors
Metadata
Release files for garf-executors 1.7.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| garf_executors-1.7.0.post1.tar.gz | 43.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| garf_executors-1.7.0.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 117.8 kB
Release files / garf_executors-1.7.0.post1.tar.gz
| Download URL | garf_executors-1.7.0.post1.tar.gz |
|---|---|
| Size | 43.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e401aed15e6356789099f04d732ea55fa4e5c94b32d49c380ca2d7a0fa54858
|
|
BLAKE2b-256 checksum How to use checksums |
02d1d55434679b5bd173b294fb39bc6b369bf5415b7ad6cc6b8039b550bbd0f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.4
|
Release files / garf_executors-1.7.0.post1-py3-none-any.whl
| Download URL | garf_executors-1.7.0.post1-py3-none-any.whl |
|---|---|
| Size | 73.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
615b7d54e2390193a64f94b5bc728f485bb77ba91d364b1391c7ac05b62652ff
|
|
BLAKE2b-256 checksum How to use checksums |
1764115e2f73d82b16073d24dc0d6640a81448839471762d70e081fe1b43bc36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.4
|