Skip to content

Convert Python bindings to declarative PyO3 module syntax#6122

Open
kilian-hu wants to merge 1 commit intotursodatabase:mainfrom
kilian-hu:chore/python-declarative-pymodule
Open

Convert Python bindings to declarative PyO3 module syntax#6122
kilian-hu wants to merge 1 commit intotursodatabase:mainfrom
kilian-hu:chore/python-declarative-pymodule

Conversation

@kilian-hu
Copy link
Contributor

Description

This PR converts the Python bindings from the old function-based #[pymodule] style to the new and recommended declarative style.

Also updating uv.lock which I forgot to do in #6103

Motivation and context

Description of AI Usage

I've used Claude Code with Opus 4.6 to search through the PyO3 docs and various GitHub issues and PRs to validate the idea and to make the code changes to bindings/python/src/lib.rs.

@kilian-hu kilian-hu requested a review from penberg as a code owner March 24, 2026 15:47
Copy link

@turso-bot turso-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review @LeMikaelF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant