libsql-experimental-python
libsql-experimental-python copied to clipboard
libSQL API for Python (experimental)
When running pip install libsql-experimental, process fails with several error lines, but most telling seems to be below. This fails at the same package as bug 58, but different reason....
I tried to insert a record with None type but it resulted in this error: ``` thread '' panicked at src/lib.rs:411:39: not yet implemented note: run with `RUST_BACKTRACE=1` environment variable...
As @sivukhin points out, we currently use `query()` for everything, which leads to server getting confused and complaining that stream is not found. Let's use `execute()` for statements that don't...
from ChrisMills on Discord: > Ensure that after an insert or update, cursor.rowid has the last affected row. This is very useful behavior that avoids the need to make an...
The example fails as follows if you remove the local database: ``` (.env) penberg@vonneumann libsql-experimental-python % python3 examples/sync_write.py syncing with libsql://python-penberg.aws-eu-west-1.turso.io thread '' panicked at /Users/penberg/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libsql-0.9.3/src/sync.rs:703:9: generation should be >...
In python I found that using conn.execute with an INSERT query had no effect, but my code proceeded as if everything was fine. When I try to insert into that...
Duplicate: https://github.com/tursodatabase/libsql-experimental-python/issues/63. But more detailed on the error. ## Bug Report: libsql-experimental build fails on Windows with Python 3.12 **Description:** When attempting to install a package that depends on `libsql-experimental`...
## Description Add Windows Support. If need me to finish the checklist, please let me known. @notrab ## Checklist - [x] Add build-windows-wheel.yml workflow file. - [ ] Ensure pyproject.toml...
```py import random import libsql_experimental as libsql conn = libsql.connect(":memory:") dims = 4 conn.execute(f""" CREATE TABLE vectors ( vector_id INTEGER PRIMARY KEY, vector F32_BLOB({dims}) ) """) conn.execute("CREATE INDEX vector_idx ON...