Metadata-Version: 2.4
Name: respan-instrumentation-lancedb
Version: 0.1.0
Summary: Respan instrumentation plugin for LanceDB
License: Apache 2.0
Author: Respan
Author-email: team@respan.ai
Requires-Python: >=3.11,<3.14
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: lancedb (>=0.20.0,<1.0.0)
Requires-Dist: opentelemetry-semantic-conventions-ai (>=0.4.1)
Requires-Dist: respan-sdk (>=2.6.1)
Requires-Dist: respan-tracing (>=2.17.0,<3.0.0)
Requires-Dist: wrapt (>=1.16.0)
Description-Content-Type: text/markdown

# respan-instrumentation-lancedb

Respan instrumentation for synchronous and asynchronous LanceDB connections,
tables, and query execution.

```bash
pip install respan-ai respan-instrumentation-lancedb lancedb
```

```python
import lancedb
from respan import Respan
from respan_instrumentation_lancedb import LanceDBInstrumentor

respan = Respan(instrumentations=[LanceDBInstrumentor()])
db = lancedb.connect("/tmp/lancedb")
table = db.create_table("documents", [{"vector": [0.1, 0.2], "text": "hello"}], mode="overwrite")
print(table.search([0.1, 0.2]).limit(1).to_list())
respan.flush()
```

