Nikita Sivukhin
7dd50abf2a
format and restructure for sync package
2025-12-02 18:32:32 +04:00
Nikita Sivukhin
6e30a3ce90
cargo fmt
2025-12-02 18:18:14 +04:00
Nikita Sivukhin
201f3a55f6
fix clippy
2025-12-02 18:16:57 +04:00
Nikita Sivukhin
74d6e7d3a8
prompt fix just for the sake of consistency
2025-12-02 17:21:57 +04:00
Nikita Sivukhin
ae603000e1
implement simple turso-sync bindings for python
2025-12-02 17:18:46 +04:00
Nikita Sivukhin
8df7f7e416
adjust python bindings
2025-12-02 16:03:06 +04:00
Nikita Sivukhin
4d1c52a02f
add extra_io parameter to the main python driver
2025-12-02 11:03:42 +04:00
Nikita Sivukhin
52f492b93d
slightly adjust database sdk-kit
2025-12-01 22:55:15 +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
6d817530e2
cargo fmt
2025-11-28 03:24:04 +04:00
Nikita Sivukhin
863c9727cc
uv format
2025-11-28 03:22:16 +04:00
Nikita Sivukhin
a5b0dc0980
clippy
2025-11-28 03:21:47 +04:00
Nikita Sivukhin
2b0c19289d
fix rowcount calculation
2025-11-28 03:21:34 +04:00
Nikita Sivukhin
338846eeda
bit more tests and fix __init__
2025-11-28 02:51:58 +04:00
Nikita Sivukhin
40447299b9
refine prompt and regenerate bindings
2025-11-28 02:36:05 +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
37320099cc
export Row from the module
2025-11-28 01:39:07 +04:00
Nikita Sivukhin
7f4ae07bb5
regenerate driver through prompt
2025-11-28 01:36:17 +04:00
Nikita Sivukhin
85985cb64a
add comment to the python bindings
2025-11-28 01:35:58 +04:00
Nikita Sivukhin
dd913dec22
move connect at the top
2025-11-28 01:06:44 +04:00
Nikita Sivukhin
1c373fd275
vide code python bindings
2025-11-27 17:54:10 +04:00
Nikita Sivukhin
0c05cd3ca7
rewrite python bindings to be almost direct translation of sdk-kit
2025-11-27 17:53:31 +04:00
Nikita Sivukhin
78705493d8
use sdk-kit in python bindings
2025-11-27 14:12:08 +04:00
gigagrug
b7bdbefe8b
Create README.md for Turso Database Python bindings
...
Added README.md for Turso Database Python bindings with installation instructions, features, and usage examples.
2025-11-13 20:19:50 -05:00
RS2007
60cbc6d8ea
migrating from_uri to database opts
2025-11-02 16:28:22 +05:30
Pekka Enberg
913b7ac600
core: Disable autovacuum by default
...
People have discovered various bugs in autovacuum so let's disable it by
default for now.
2025-11-02 12:09:21 +02:00
Nikita Sivukhin
299533b7b6
hide custom modules syntax behind --experimental-custom-modules flag
2025-10-27 12:29:05 +04:00
pedrocarlo
5b2cce946a
do not reference workspace package by path
2025-10-13 21:07:15 -03:00
Avinash Sajjanshetty
c8111f9555
Put encryption behind an opt in (runtime) flag
2025-09-30 18:29:18 +05:30
Diego Reis
7a56c93b81
Makes clippy happy
2025-09-25 10:42:14 -03:00
PThorpe92
ba1ed72ed8
Add tracing_release feature for benchmarks to compile tracing macros to noops
2025-09-10 09:56:12 -04:00
Pekka Enberg
12cf4d2e72
core: Make strict schema support experimental
...
It's not tested properly so let's mark it as experimental for now.
Fixes #2775
2025-09-02 16:40:02 +03:00
Mikaël Francoeur
2ee0132afe
rename functions
2025-08-15 17:08:53 -04:00
Nikita Sivukhin
857f9147f6
enable indices in the python SDK
2025-08-13 16:10:27 +04:00
Glauber Costa
145d6eede7
Implement very basic views using DBSP
...
This is just the bare minimum that I needed to convince myself that this
approach will work. The only views that we support are slices of the
main table: no aggregations, no joins, no projections.
drop view is implemented.
view population is implemented.
deletes, inserts and updates are implemented.
much like indexes before, a flag must be passed to enable views.
2025-08-10 23:34:04 -05:00
Jussi Saurio
86b1232268
chore: enable indexes by default
2025-08-01 15:44:56 +03:00
Pekka Enberg
993079e39d
bindings/python: Add "experimental_indexes" parameter to connect()
2025-07-21 12:49:38 +03:00
Jussi Saurio
a48b6d049a
Another post-rebase clippy round with 1.88.0
2025-07-12 19:10:56 +03: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
b895381ae6
Revert "Merge 'Reachable assertions in Antithesis Python Test for better logging' from Pedro Muniz"
...
This reverts commit dbbc3f5190 , reversing
changes made to 1cd5a49705 . We're missing
some mandatory parameters, causing these to fail under Antithesis.
2025-07-08 17:51:12 +03:00
Pere Diaz Bou
91107d364a
only close connection in case of reference count is 1
...
Due to how `execute` is implemented, it returns a `Connection` clone
which internally shares a turso_core::Connection with every other
Connection. Since `execute` returns `Connection` and immediatly it is
dropped, it will close connection, checkpoint and leave database in
weird state.
2025-07-08 15:19:20 +02:00
pedrocarlo
e9361c0eba
add more logging to antithesis tests
...
format python tests
2025-07-07 19:11:55 -03:00
pedrocarlo
711b1ef114
make all run_once be run under statement or connection so that rollback is called
2025-07-07 11:51:25 -03:00
Pekka Enberg
9303244f9d
bindings/python: Explicit transaction control support
2025-07-03 16:50:21 +03:00
Pekka Enberg
603e57aff8
bindings/python: Fix ROLLBACK
2025-07-03 16:36:18 +03:00
Pekka Enberg
df257d3048
Merge 'Turso, not Limbo, in pyproject.toml' from Simon Willison
...
https://pypi.org/project/pyturso/0.1.1/ is still showing the old name:

Closes #1912
2025-07-02 19:33:05 +03:00