Metadata-Version: 2.4
Name: graphlagoon
Version: 0.10.3
Summary: Graph visualization and exploration tool with FastAPI backend
Project-URL: Homepage, https://github.com/graphlagoon/graphlagoon
Project-URL: Documentation, https://github.com/graphlagoon/graphlagoon#readme
Project-URL: Repository, https://github.com/graphlagoon/graphlagoon
Author-email: Bruno Messias <devmessias@gmail.com>
License: AGPL-3.0
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.11
Requires-Dist: asyncpg>=0.31.0
Requires-Dist: fastapi>=0.109.0
Requires-Dist: gsql2rsql
Requires-Dist: httpx>=0.26.0
Requires-Dist: jinja2>=3.1.0
Requires-Dist: pydantic-settings>=2.1.0
Requires-Dist: pydantic>=2.5.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: sqlalchemy[asyncio]>=2.0.0
Requires-Dist: sqlglot>=26.0.0
Requires-Dist: uvicorn[standard]>=0.27.0
Provides-Extra: all
Requires-Dist: alembic>=1.13.0; extra == 'all'
Requires-Dist: asyncpg>=0.29.0; extra == 'all'
Requires-Dist: databricks-sdk>=0.38.0; extra == 'all'
Provides-Extra: dev
Requires-Dist: debugpy>=1.8.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest>=7.4.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Provides-Extra: lakebase
Requires-Dist: databricks-sdk>=0.38.0; extra == 'lakebase'
Provides-Extra: postgres
Requires-Dist: alembic>=1.13.0; extra == 'postgres'
Requires-Dist: asyncpg>=0.29.0; extra == 'postgres'
Description-Content-Type: text/markdown

# Graph Lagoon Studio

Graph visualization and exploration tool with FastAPI backend.

## Installation

```bash
pip install graphlagoon
```

## Quick Start

```bash
# Start the server
uvicorn graphlagoon.app:app --host 0.0.0.0 --port 8000
```

## Usage

### Standalone Mode

```python
from graphlagoon import create_app

app = create_app()
```

### Embedded Mode

```python
from fastapi import FastAPI
from graphlagoon import create_api_router

app = FastAPI()
app.include_router(create_api_router(), prefix="/graphlagoon")
```

## Configuration

Environment variables:

- `DATABASE_ENABLED` - Enable/disable PostgreSQL (default: true)
- `DATABASE_URL` - PostgreSQL connection string
- `DATABRICKS_MODE` - Connect to Databricks directly (default: false)
- `DATABRICKS_HOST` - Databricks workspace host
- `DATABRICKS_TOKEN` - Databricks access token
- `DATABRICKS_WAREHOUSE_ID` - SQL warehouse ID
