Skip to main content

Google Firestore checkpoint saver implementation for LangGraph

Project description

LangGraph Checkpoint Firestore

This project provides an implementation of a checkpoint saver for LangGraph using Google Firestore.

Features

  • Save and retrieve langgraph checkpoints in Google Firestore.

Installation

To install the package, ensure you have Python 3.9 or higher, and run:

pip install langgraph-checkpoint-firestore

Usage

Setting Up CosmosDBSaver

To use the FirestoreSaver, you need to provide google default application authenmtication via environment

Example

python
from langgraph_checkpoint_firestore import FirestoreSaver

Initialize the saver

Collections - write and checkpoint - are created if it does not exists

saver = FirestoreSaver(project='project_id')

Limitations

List function does not support filters. You can only pass config on thread id to get the list.

print(list(memory.list(config=config)))

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langgraph_checkpoint_firestore-0.1.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file langgraph_checkpoint_firestore-0.1.2.tar.gz.

File metadata

File hashes

Hashes for langgraph_checkpoint_firestore-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3755430b575c83b406a819fe54ba6a00c3d7a984c13fc3c25ce0d1608d57e94e
MD5 f7a52a959c018e6aa52494235ee3f4f5
BLAKE2b-256 50c6678379e3e901143bd26b304dee2cabfd16aa940fd32f7e11f73908c7ffa2

See more details on using hashes here.

File details

Details for the file langgraph_checkpoint_firestore-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for langgraph_checkpoint_firestore-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bdf27dce0d82b5efd862e21a8505d5c65b2f86e011c4e4011bf7fb31e2c15deb
MD5 e733cc5490e99946ffb67e9b81887060
BLAKE2b-256 43f1c785447867473373450e9a293a2292356fb6b8d0791b1c511920fef72c34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page