libsql-client-py icon indicating copy to clipboard operation
libsql-client-py copied to clipboard

Python SDK for libSQL

Results 16 libsql-client-py issues
Sort by recently updated
recently updated
newest added

The README states that the client supports http protocol, but it doesn't. ![CleanShot 2024-05-03 at 10 29 57](https://github.com/tursodatabase/libsql-client-py/assets/11553624/6c4ad969-d9c4-4bee-80a5-5fa5d2310a38) ![CleanShot 2024-05-03 at 10 34 44](https://github.com/tursodatabase/libsql-client-py/assets/11553624/bebd8d9b-d535-440a-ada4-fe20b17f4162) 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...

[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("") ```

bug
question

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.

bug
good first issue
help wanted

```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...