sqlalchemy-libsql
sqlalchemy-libsql copied to clipboard
SQLAchemy dialect for libSQL
Would it be possible to support embedded replicas? ```python con = libsql.connect("hello.db", sync_url=url, auth_token=auth_token) ```
This PR works as a "v0" for adding async support. We're simply adding a libsql dialect that's flagged as async without modifying the dbapi itself. As it stands, this PR...
Hi! I want to use ``create_async_engine(...)`` to make an async engine and interface with libsql. Is this currently possible/ documented anywhere?
Hi, I am developing a project in FastAPI and wishing to use turso. FastAPI works mainly with sqlmodel, a mix between pydantic and sqlalchemy. It does not support sqlalchemy 2.0...
I am running latest `sqld` locally and when I run `poetry run pytest`, I get the following set of test failures: ```console ========================================================================================= sqlalchemy installation ========================================================================================== SQLAlchemy 2.0.20 (user site...
If I switch the dialect to use `sqlite3` module under the hood, not all tests pass: ``` ========================================================================================= short test summary info ========================================================================================== SKIPPED [1] .env/lib/python3.11/site-packages/sqlalchemy/testing/config.py:385: 'test/test_suite.py::DialectTest_sqlite+libsql_3_42_0::test_pysqlcipher_connects (call)' : not...
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) 505, message='Invalid response status'
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/pool/base.py", line 901, in __connect pool.logger.debug("Error on connect(): %s", e) File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ raise exc_value.with_traceback(exc_tb) File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/pool/base.py", line 896, in __connect self.dbapi_connection = connection = pool._invoke_creator(self)...
## Description: I'm exploring the functionality of this library and would like to know if it currently supports vector operations. By vector operations, I'm referring to functionalities like: https://docs.turso.tech/features/ai-and-embeddings Could...