Skip to main content

# 🌊 hanaflow

Upload any dataset to SAP HANA Cloud in one command — then query it with LLM.

## Installation

pip install hanaflow

## Quick Start

### 1. Configure credentials

Create a .env file:

HANA\_HOST=your-host.hanacloud.ondemand.com

HANA\_PORT=443

HANA\_USER=DBADMIN

HANA\_PASSWORD=your-password

HANA\_ENCRYPT=true

LLM\_API=your-gemini-api-key

LLM\_MODEL=gemini-2.0-flash

### 2. Test connection

hanaflow ping

### 3. Upload a dataset

hanaflow upload-cmd --file sales\_data.csv

### 4. Get an LLM summary of your data

hanaflow summary --file sales\_data.csv

### 5. Ask questions about your data

hanaflow ask --file sales\_data.csv --question "What is the average price by city?"

## Supported File Formats

| Format | Extension |

|--------|-----------|

| CSV | .csv |

| Excel | .xlsx / .xls |

| JSON | .json |

| Parquet | .parquet |

## CLI Commands

| Command | Description |

|---------|-------------|

| hanaflow ping | Test SAP HANA connectivity |

| hanaflow upload-cmd | Upload data file to SAP HANA |

| hanaflow summary | Generate LLM summary of dataset |

| hanaflow ask | Ask natural language questions about data |

## Built With

- [hdbcli](https://pypi.org/project/hdbcli/) — SAP HANA Python Client

- [LangChain](https://python.langchain.com/) — LLM framework

- [Google Gemini](https://aistudio.google.com/) — LLM provider

- [Typer](https://typer.tiangolo.com/) — CLI framework

- [FastAPI](https://fastapi.tiangolo.com/) — REST API (coming soon)

## License

MIT

Metadata

Release files for hanaflow 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hanaflow 0.1.2
File Size Uploaded Provenance
hanaflow-0.1.2.tar.gz 15.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hanaflow 0.1.2
File Interpreter ABI Platform
hanaflow-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 32.3 kB

Release files / hanaflow-0.1.2.tar.gz

Download URL hanaflow-0.1.2.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
101371833b471a1bb86d781322fd31480de9667681df691e7e635957a93f702f
BLAKE2b-256 checksum
How to use checksums
7196e482ea9ee13d584bb24615c7c27d634bcfbd8c56f0e7c45a9c574cfcfbe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / hanaflow-0.1.2-py3-none-any.whl

Download URL hanaflow-0.1.2-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
820987dae0eeaae721306bf533a045170bdead52c1f9d457bfe1f936669dbda6
BLAKE2b-256 checksum
How to use checksums
43b3bcad01c572c6260c94f135ecd52ace7221f27e32d743c0f4ba7c6a9defeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for hanaflow 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page