garf-io - Writing GarfReport to anywhere
garf-io handles reading queries and writing GarfReport to various local/remote storages.
Installation
pip install garf-io
By default garf-io has only support for console, csv and json writers -
explore what additional writers are available.
Usage
CLI
garf query.sql --source API_SOURCE \
--output csv --csv.destination-folder=/tmp/
Python
import garf.core import report
from garf.io import writer
# Create example report
sample_report = report.GarfReport(results=[[1]], column_names=['one'])
# Initialize CSV writer
concrete_writer = writer.create_writer('csv', destination_folder='/tmp/')
# Write data to /tmp/sample.csv
concrete_writer.write(sample_report, 'sample')
Documentation
Learn more about using garf writers.
Metadata
Release files for garf-io 1.5.1
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_io-1.5.1.tar.gz | 23.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| garf_io-1.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.3 kB
Release files / garf_io-1.5.1.tar.gz
| Download URL | garf_io-1.5.1.tar.gz |
|---|---|
| Size | 23.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c1b6cccf4c654e4887d51f47bdc3dcc97af6063e8b337a894a80862176ae183
|
|
BLAKE2b-256 checksum How to use checksums |
50981d8b46898ad8ff0487d8b1bb1773ebfec1d5157d6cd008e9f57c9be59a38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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}
|
Release files / garf_io-1.5.1-py3-none-any.whl
| Download URL | garf_io-1.5.1-py3-none-any.whl |
|---|---|
| Size | 53.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8cb45740b8ad623209e24af67a7948f68397ac265ca6e5e6e97ee26364ff0384
|
|
BLAKE2b-256 checksum How to use checksums |
c2a3584af1b21953833ff69d191c57124dee0056e3eac988c882d28742d57365
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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}
|