Skip to main content

A FastAPI LangGraph-compatible server backed by GaussDB.

Project description

LangGraph GaussDB FastAPI

A FastAPI server that implements key LangGraph Platform-compatible endpoints with async GaussDB persistence.

Install

python -m pip install langgraph-gaussdb-fastapi

Run

Set the database connection with environment variables, then start the server:

LG_DB_HOST=127.0.0.1 \
LG_DB_USER=remote_user \
LG_DB_PASSWORD=your-password \
LG_DB_NAME=langgraph \
langgraph-gaussdb-fastapi

The default graph config path is server_config.json. You can override it with LG_GRAPH_CONFIG.

{
  "dependencies": ["."],
  "graphs": {
    "echo": "./example_graph.py:graph"
  }
}

Health checks are available at / and /ok.

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_gaussdb_fastapi-0.1.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

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

langgraph_gaussdb_fastapi-0.1.0-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file langgraph_gaussdb_fastapi-0.1.0.tar.gz.

File metadata

File hashes

Hashes for langgraph_gaussdb_fastapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 da4d1266f05bbf2ca9e771b7c879cc9976b7639202bf293b1d6893721cadf9c5
MD5 15204eb620bebd531b2bb656ea305f5f
BLAKE2b-256 a67b5e3e02a1d2ce07e1902d687bba6afc1c828f6e4de55b78e555917c229bd7

See more details on using hashes here.

File details

Details for the file langgraph_gaussdb_fastapi-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langgraph_gaussdb_fastapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d24f4b13c01161d68066e02743aa0fbf109c9b9342d28bbcc1d49b5a0578a97
MD5 b854fc76b13743ff7c9ce5df51726b6c
BLAKE2b-256 765e1ac63d51962d23368f9cbb5959b0333c23657a5bcefa0641dfab6fe1e27b

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