libsql-client-py
libsql-client-py copied to clipboard
Python SDK for libSQL
The README states that the client supports http protocol, but it doesn't.   We're trying to use the `http(s)`...
Hi 👋 , It'd be great if support for encryption were added to the `libsql` library for Python and to `sqlalchemy-libsql` too would be awesome! 🥳 . Are there any...
libSQL.org is no longer available.
[random rowid](https://github.com/tursodatabase/libsql/issues/12) is unsupported by this client (tried both dbapi2 and the regular client) ``` libsql_client.client.LibsqlError: SQL_INPUT_ERROR: SQL input error ``` here's an example code: ``` from libsql_client import dbapi2...
``` sqlalchemy.exc.DatabaseError: (sqlite3.DatabaseError) SQL_PARSE_ERROR: SQL string could not be parsed: unsupported statement: PRAGMA main.index_info("") ```
An user reports the following error when accidentally removing `load_dotenv()` call causing to miss URL and access token: ``` LibsqlError(f”Unsupported URL scheme {config.scheme!r}”, “URL_SCHEME_NOT_SUPPORTED”). ```
v 0.3.0 When using existing sqlite3 database i get ``` Traceback (most recent call last): File "e.py", line 81, in __getitem__ r = self._cursor.fetchone() ^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/lib/python3.11/site-packages/libsql_client/dbapi2/types.py", line 845, in...
We currently don't support paths that have URL encoded spaces, for example: ``` file:///foo/bar%20baz/sqlite.db ``` Let's decode the URL before passing using it for path lookup.
```python class LibsqlError(RuntimeError): code: str def __init__(self, message: str, code: str): super(RuntimeError, self).__init__(f"{code}: {message}") self.code = code ``` We have a `code`, which is normally the SQLite error code, such...
Similar to what's been implemented in TS by @honzasp , batch and transaction should have a mandatory first argument to indicate the mode. See: https://github.com/libsql/libsql-client-ts/blob/main/src/api.ts As a temporary compatibility, the...