Commit graph

40 commits

Author SHA1 Message Date
Nikita Sivukhin
5ab69bcf20 rename speculative load to prefetch (docs already uses this terminology) 2025-12-16 13:59:39 +04:00
Pekka Enberg
df9c39cd1c core: Fix integrity_check pragma code generation
The translate_integrity_check function was missing a call to
add_pragma_result_column, causing num_columns() to return 0.
This made the Python bindings treat it as a non-row-returning
statement, finalizing it during execute() and leaving fetchone()
to return None instead of ("ok",).

Spotted by Antithesis.
2025-12-15 09:46:46 +02:00
Nikita Sivukhin
f409875c69 adjust python tests a little bit 2025-12-10 18:37:28 +04:00
Nikita Sivukhin
0c73e875eb fix assertion in python test 2025-12-10 18:23:44 +04:00
Nikita Sivukhin
aac3a699ce fix partial sync config after rebase 2025-12-09 16:01:12 +04:00
Nikita Sivukhin
c1ca743503 adjust test 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
731b9c1ec9 reformat and adjust test 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
82fd3d0c2c adjust tests 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
4c5dfbaefe format fixes 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
4e910976d8 adjust tests 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
9be21e259a wip 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
a6454c8680 vibe coding aio python driver 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
7dd50abf2a format and restructure for sync package 2025-12-02 18:32:32 +04:00
Nikita Sivukhin
ae603000e1 implement simple turso-sync bindings for python 2025-12-02 17:18:46 +04:00
Nikita Sivukhin
769af9485e remove debug print 2025-11-28 03:31:46 +04:00
Nikita Sivukhin
4add1de3e7 uvx ruff check 2025-11-28 03:31:16 +04:00
Nikita Sivukhin
863c9727cc uv format 2025-11-28 03:22:16 +04:00
Nikita Sivukhin
338846eeda bit more tests and fix __init__ 2025-11-28 02:51:58 +04:00
Nikita Sivukhin
caefe25ad5 more tests from robots 2025-11-28 01:54:04 +04:00
Nikita Sivukhin
c84b51510b fix tests: bug in assertion + adjust driver usage in the tricky INSERT RETURNING test 2025-11-28 01:45:13 +04:00
Nikita Sivukhin
c95908bca5 uv format + remove unused imports 2025-11-28 01:42:11 +04:00
Nikita Sivukhin
5fb16eb9d1 generate tests with prompt 2025-11-28 01:39:25 +04:00
Nikita Sivukhin
dd913dec22 move connect at the top 2025-11-28 01:06:44 +04:00
Nikita Sivukhin
857f9147f6 enable indices in the python SDK 2025-08-13 16:10:27 +04:00
Pekka Enberg
5216e67d53 bindings/python: Start transaction implicitly in execute()
We need to start transaction implicitly in execute() for DML statements
to make sure first transaction is actually started.

Fixes #2002
2025-07-09 10:59:52 +03:00
Pekka Enberg
a5b539f1bf bindings/python: Rename package to pyturso 2025-06-27 11:27:08 +03:00
pedrocarlo
80ccca8827 ruff lint fix 2025-06-20 15:59:03 -03:00
Pere Diaz Bou
4514bd5681 use integer primary key on test_in_memory_fetchone_select_all_users 2025-06-17 19:33:23 +02:00
Diego Reis
160d48d34e ext/python: Workaround to file permission error
To get more info see:
3931236284
2025-03-24 16:39:24 -03:00
Diego Reis
6edf3dd3b1 ext/python: Makes linter happy 2025-03-24 12:40:59 -03:00
Diego Reis
4ca5b11bed ext/python: Add support for Context Manager 2025-03-24 12:20:13 -03:00
Diego Reis
2ee934577f ext/python: Close connection after each test 2025-03-21 12:02:27 -03:00
Diego Reis
3c2bb6c3a8 ext/python: Fix flaky tests by creating a new db for each test and removing it after the test 2025-03-21 11:33:24 -03:00
Diego Reis
f966f7ad0e ext/python: Makes Linter happy 2025-03-20 17:40:31 -03:00
Diego Reis
16b9325830 ext/python: Basic support for placeholding insert 2025-03-20 17:10:12 -03:00
JeanArhancet
2a0402ce7f fix: python lint 2024-12-30 10:21:11 +01:00
JeanArhancet
cb69d8b0dd feat(python): add in-memory mode 2024-12-30 10:21:11 +01:00
Lauri Virtanen
6bd1d28e26 Format Python bindings code using Ruff
- Use double quotes (Ruff/Black default)
- Configure some set of linters to use with Ruff
2024-09-01 16:10:59 +03:00
JeanArhancet
fc2962e04e ci: integrate pyo3
ci: add manylinux

fix: maturin build error

ci: add wheels upload

ci: use venv
2024-08-25 21:47:17 +02:00
JeanArhancet
7c362b129f feat: impl python binding
refactor: pep-0249

refactor: rust comment and requirements-dev.txt

fix: name conflict
2024-08-11 08:58:18 +02:00