Skip to content

Installation

Prerequisites

  • Python 3.11+
  • A graph database (Neo4j, ArangoDB, or TigerGraph) if you plan to use database features

Installation Methods

Using pip

pip install graflo
uv add graflo

From Source

  1. Clone the repository:

    git clone https://github.com/growgraph/graflo.git
    cd graflo
    

  2. Install with development dependencies:

    uv sync --group dev
    

Optional Dependencies

graflo has some optional dependencies that can be installed based on your needs. In order to be able to generate schema visualizations, add graphviz deps (you will need graphviz package installed on your computer, e.g. apt install graphviz-dev)

pip install graflo[graphviz]

Verifying Installation

To verify your installation, you can run:

import graflo
print(graflo.__version__)

Spinning up databases

Instructions on how to spin up ArangoDB, Neo4j, and TigerGraph as docker images using docker compose are provided here github.com/growgraph/graflo/docker

Configuration

After installation, you may need to configure your graph database connection. See the Quick Start Guide for details on setting up your environment.

For more detailed troubleshooting, refer to the API Reference or open an issue on GitHub.