Metadata-Version: 2.4
Name: fuju-trace-postgresql
Version: 0.1.11
Summary: PostgreSQL storage adapter for Fuju Trace
Project-URL: Homepage, https://github.com/vibeinging/fuju-trace
Project-URL: Repository, https://github.com/vibeinging/fuju-trace
Project-URL: Issues, https://github.com/vibeinging/fuju-trace/issues
Author: Fuju Trace
License-Expression: MIT
Requires-Python: >=3.10
Requires-Dist: fuju-trace-sql==0.1.11
Requires-Dist: psycopg2-binary<3,>=2.9.5
Description-Content-Type: text/markdown

# Fuju Trace PostgreSQL

PostgreSQL storage adapter for Fuju Trace. Install this package directly or
use the base SDK extra:

```bash
python -m pip install 'fuju-trace-postgresql==0.1.11'
# equivalent: python -m pip install 'fuju-trace[postgresql]==0.1.11'
```

```python
import os
from fuju_trace import connect

with connect(postgresql_dsn=os.environ["POSTGRESQL_DSN"], tenant_id=1,
             initialize=True) as db:
    print(db.capabilities())
```

The package re-exports `PostgreSQLTraceStore` from the shared
`fuju-trace-sql` implementation and installs `psycopg2-binary`. If your
application supplies a compatible `psycopg2` driver itself, install
`fuju-trace-sql==0.1.11` directly instead. Text search is currently a
substring scan; BM25 and vector search are not available in this adapter.
See the [SQL adapter guide](https://github.com/vibeinging/fuju-trace/blob/main/fuju-trace-sql/README.md) for setup and filters.
