This repository contains a Library of custom Griptape Nodes for interacting with a SQL database.
- Griptape Nodes installed and running
-
Download the library files to your Griptape Nodes libraries directory:
# Navigate to your Griptape Nodes libraries directory cd `gtn config show workspace_directory` # Clone or download your library git clone https://github.com/RoseAllenM/griptape-nodes-sql.git
-
Add the library in the Griptape Nodes Editor:
- Open the Settings menu and navigate to the Libraries settings
- Click on + Add Library at the bottom of the settings panel
- Enter the path to the library JSON file: your Griptape Nodes Workspace directory
/griptape-nodes-sql/library.json - Close the Settings Panel
- Click on Refresh Libraries
-
Verify installation by checking that your custom nodes appear in the Griptape Nodes interface in the SQL category.
These Nodes are provided under the Apache License 2.0.
- Clone this repo and
cdinto it. - Create a virtual environment.
uv venv
- Activate the virtual environment.
# Windows .venv\Scripts\Activate.ps1 # Linux source .venv/bin/activate
- Install the dev dependencies.
uv pip install --editable . --group dev - Install pre-commit hooks.
pre-commit install
This package uses Ruff to lint and format code.
Run ruff check --fix ; ruff format prior to every commit.
Once installed, the pre-commit hooks do this automatically.
This package follows Semantic Versioning.
Major.Minor.Patch
To bump the version, edit pyproject.toml