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.0
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.0.tar.gz | 23.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| garf_io-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.7 kB
Release files / garf_io-1.5.0.tar.gz
| Download URL | garf_io-1.5.0.tar.gz |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fef698a1f50a7661c1ac332cc0f2ab8131f06b0a9e17c68299c5872fd7973b18
|
|
BLAKE2b-256 checksum How to use checksums |
7b72f313c6c01962b21fae62d38708ddb68111a0a81018a145c66a7b2225f37c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","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.0-py3-none-any.whl
| Download URL | garf_io-1.5.0-py3-none-any.whl |
|---|---|
| Size | 53.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b790b688ea3eb55d885033b8d4d4d94697ddff3bb7cc3116083cd3657a9757ae
|
|
BLAKE2b-256 checksum How to use checksums |
85638b4ceb16f16f4cd2ea11756aa0ffc03354afc990d15ebb8d0b8ba5ff926a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","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}
|